You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2001/04/07 22:57:05 UTC
cvs commit: httpd-proxy/module-2.0 proxy_connect.c
minfrin 01/04/07 13:57:05
Modified: module-2.0 proxy_connect.c
Log:
proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
not ap_parse_uri_components()
Revision Changes Path
1.26 +1 -1 httpd-proxy/module-2.0/proxy_connect.c
Index: proxy_connect.c
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_connect.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- proxy_connect.c 2001/04/06 10:44:07 1.25
+++ proxy_connect.c 2001/04/07 20:57:05 1.26
@@ -133,7 +133,7 @@
*/
/* we break the URL into host, port, uri */
- if (HTTP_OK != ap_parse_uri_components(p, url, &uri)) {
+ if (HTTP_OK != ap_parse_hostinfo_components(p, url, &uri)) {
return ap_proxyerror(r, HTTP_BAD_REQUEST,
apr_pstrcat(p, "URI cannot be parsed: ", url, NULL));
}