Parent Directory
|
Revision Log
|
Patch
| revision 420983, Tue Jul 11 20:33:53 2006 UTC | revision 490142, Mon Dec 25 12:06:33 2006 UTC | |
|---|---|---|
| # | Line 204 static const char *add_redirect_internal | Line 204 static const char *add_redirect_internal |
| 204 | if (ap_is_HTTP_REDIRECT(status)) { | if (ap_is_HTTP_REDIRECT(status)) { |
| 205 | if (!url) | if (!url) |
| 206 | return "URL to redirect to is missing"; | return "URL to redirect to is missing"; |
| 207 | if (!use_regex && !ap_is_url(url)) | /* PR#35314: we can allow path components here; |
| 208 | * they get correctly resolved to full URLs. | |
| 209 | */ | |
| 210 | if (!use_regex && !ap_is_url(url) && (url[0] != '/')) | |
| 211 | return "Redirect to non-URL"; | return "Redirect to non-URL"; |
| 212 | } | } |
| 213 | else { | else { |
|
||||||||
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |