Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242159 Details for
Bug 331747
www-servers/thttpd removal(?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Enforce using the Status header
redirect-301.diff (text/plain), 486 bytes, created by
Gef
on 2010-08-09 21:30:58 UTC
(
hide
)
Description:
Enforce using the Status header
Filename:
MIME Type:
Creator:
Gef
Created:
2010-08-09 21:30:58 UTC
Size:
486 bytes
patch
obsolete
>diff -Naur thttpd-2.25b.orig/libhttpd.c thttpd-2.25b/libhttpd.c >--- thttpd-2.25b.orig/libhttpd.c 2007-10-14 10:09:11.000000000 +0000 >+++ thttpd-2.25b/libhttpd.c 2007-10-14 10:21:37.000000000 +0000 >@@ -3279,7 +3279,7 @@ > cp += strspn( cp, " \t" ); > status = atoi( cp ); > } >- if ( ( cp = strstr( headers, "Location:" ) ) != (char*) 0 && >+ else if ( ( cp = strstr( headers, "Location:" ) ) != (char*) 0 && > cp < br && > ( cp == headers || *(cp-1) == '\012' ) ) > status = 302;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 331747
:
242153
|
242155
|
242157
| 242159 |
242161
|
242163