Lines 695-707
Link Here
|
695 |
{ |
695 |
{ |
696 |
char *q; |
696 |
char *q; |
697 |
|
697 |
|
698 |
/* don't touch, unless it's an http or mailto URL. |
698 |
/* don't touch, unless it's a scheme for which a query string makes sense. |
699 |
* See RFC 1738 and RFC 2368. |
699 |
* See RFC 1738 and RFC 2368. |
700 |
*/ |
700 |
*/ |
701 |
if (is_absolute_uri(r->filename) |
701 |
if (is_absolute_uri(r->filename) |
|
|
702 |
&& strncasecmp(r->filename, "http", 4) |
702 |
&& strncasecmp(r->filename, "ajp", 3) |
703 |
&& strncasecmp(r->filename, "ajp", 3) |
703 |
&& strncasecmp(r->filename, "balancer", 8) |
704 |
&& strncasecmp(r->filename, "balancer", 8) |
704 |
&& strncasecmp(r->filename, "http", 4) |
705 |
&& strncasecmp(r->filename, "fcgi", 4) |
|
|
706 |
&& strncasecmp(r->filename, "scgi", 4) |
705 |
&& strncasecmp(r->filename, "mailto", 6)) { |
707 |
&& strncasecmp(r->filename, "mailto", 6)) { |
706 |
r->args = NULL; /* forget the query that's still flying around */ |
708 |
r->args = NULL; /* forget the query that's still flying around */ |
707 |
return; |
709 |
return; |