194.36.52:80/";, host: "10.0.9.44"
2014/06/27 22:51:34 [debug] 9059#0: *1 lua capture body filter, uri "/"
As you can see, print(_esc) show that the URL was successfully URLencoded.
Yet, the print(whole) line does not reflect the gsub()
What could be issue here ?
-Vamshi
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251248,251248#msg-251248
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry for the double post, but wanted to post the complete conf ... just in
case there was a mistake
server {
listen 80;
server_name 127.0.0.1 10.0.9.44;
set $_ActualTarget "";
location / {
rewrite_by_lua '
local _args = n
happening
properly. But the href still remains the same. Probably because of chunked
data.
I will try to aggregate the response body and then do the substitution. But
if someone sees anything wrong, your help would be appreciated.
-Vamshi
Posted at Nginx
uot;i")
';
}
But I cannot see absolutely any change in the href part of the response
Can someone help me understand why this is not matching ? What am I doing
wrong ?
-Vamshi
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251234,251234#msg-251234
_
e;
}
However, as you can see, I had to delete print(res.headers) and
print(res.body), since lua was complaining that it expects a single value,
but it got a table
-Vamshi
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251127,251129#msg-251129
___
quot;
2014/06/24 13:01:38 [debug] 6073#0: *1 http header: "Host: 127.0.0.1"
2014/06/24 13:01:38 [debug] 6073#0: *1 http header: "Accept: */*"
2014/06/24 13:01:38 [debug] 6073#0: *1 http header: "my-custom-auth:
Vamshi"
2014/06/24 13:01:38 [debug] 6073#0: *1 http header do