allow non-reverse mappings if reverseonly is not enabled
This commit is contained in:
parent
186bbc3efb
commit
9930e7cd82
@ -369,13 +369,16 @@ BAD_REQUEST_ERROR:
|
||||
|
||||
reverse_url = reverse_rewrite_url (connptr, hashofheaders, url);
|
||||
|
||||
if (!reverse_url) {
|
||||
if (!reverse_url && config.reverseonly) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* if not reverse only and a mapping was found.. */
|
||||
if(reverse_url) {
|
||||
safefree (url);
|
||||
url = reverse_url;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (strncasecmp (url, "http://", 7) == 0
|
||||
|
Loading…
Reference in New Issue
Block a user