~mdw
/
sgt
/
agedu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cb5a01
)
My WWW-Authenticate header should end with \r\n like all the others,
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Nov 2008 08:00:22 +0000
(08:00 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Nov 2008 08:00:22 +0000
(08:00 +0000)
not \r. No wonder Safari got confused; I'm surprised Firefox didn't!
git-svn-id: svn://svn.tartarus.org/sgt/agedu@8291
cda61777
-01e9-0310-a592-
d414129be87e
httpd.c
patch
|
blob
|
blame
|
history
diff --git
a/httpd.c
b/httpd.c
index
2437cdd
..
fcdd68e
100644
(file)
--- a/
httpd.c
+++ b/
httpd.c
@@
-262,7
+262,7
@@
char *got_data(struct connctx *ctx, char *data, int length,
if (!magic_access && !auth_correct) {
if (auth_string) {
ret = http_error("401", "Unauthorized",
- "WWW-Authenticate: Basic realm=\""PNAME"\"\r",
+ "WWW-Authenticate: Basic realm=\""PNAME"\"\r
\n
",
"\nYou must authenticate to view these pages.");
} else {
ret = http_error("403", "Forbidden", NULL,