projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbed78
)
Prepend with proto
author
Jakub Skoczen
<jakub@indexdata.dk>
Tue, 7 May 2013 12:41:44 +0000
(14:41 +0200)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Tue, 7 May 2013 12:41:44 +0000
(14:41 +0200)
src/filter_http_rewrite.cpp
patch
|
blob
|
history
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;
}