mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
per-room web challenges and an ancient bug fixed
This commit is contained in:
parent
92aaf00fff
commit
b0b3d375a3
3 changed files with 34 additions and 2 deletions
|
@ -168,8 +168,7 @@ process() {
|
|||
P4(("found cookie: %O\n", t))
|
||||
if (t && sscanf(t, "psyced=\"%s\"", t)) {
|
||||
P3(("got cookie: %O\n", t))
|
||||
query = url_parse_query(query, t);
|
||||
P4(("parsed cookie: %O\n", query))
|
||||
qs = qs ? t+"&"+qs : t;
|
||||
}
|
||||
#ifdef GENERIC_COOKIES // we might need them someday..?
|
||||
// if within the same domain other cookies are being used, like
|
||||
|
@ -197,6 +196,8 @@ process() {
|
|||
query = url_parse_query(query, body);
|
||||
}
|
||||
P4(("parsed query: %O\n", query))
|
||||
// remember original form of item in headers mapping
|
||||
headers["item"] = item;
|
||||
switch (item) {
|
||||
case "/favicon.ico":
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue