From: Jakub Skoczen Date: Tue, 7 May 2013 12:41:44 +0000 (+0200) Subject: Prepend with proto X-Git-Tag: v1.3.59~57^2~19 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=9aac52ec77441c6b1cfb37fd89d7a55c8935ca71;p=metaproxy-moved-to-github.git Prepend with proto --- diff --git a/src/filter_http_rewrite.cpp b/src/filter_http_rewrite.cpp index d6a801e..0ee1afb 100644 --- a/src/filter_http_rewrite.cpp +++ b/src/filter_http_rewrite.cpp @@ -91,6 +91,7 @@ void yf::HttpRewrite::rewrite_reqline (mp::odr & o, Z_HTTP_Request *hreq, else { //TODO what about proto + path += "http://"; path += z_HTTP_header_lookup(hreq->headers, "Host"); path += hreq->path; }