projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prepend with proto
[metaproxy-moved-to-github.git]
/
src
/
filter_http_rewrite.cpp
diff --git
a/src/filter_http_rewrite.cpp
b/src/filter_http_rewrite.cpp
index
d6a801e
..
0ee1afb
100644
(file)
--- 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;
}