$request_uri without args

agentzh agentzh at gmail.com
Thu Sep 15 00:22:26 UTC 2011

On Thu, Sep 15, 2011 at 12:33 AM, Richard Kearsley
<Richard.Kearsley at m247.com> wrote:
> Many thanks, this fixed the problem (or got around it at least :) - so not sure where the bug is but I suspect it's the mixture of ?3456 and ?val=3456 in the query string after the lua pass to backend (I wasn't reading "host" at backend properly, hence 404)

I believe it's not a bug because it's wrong to pass the query args
part as the URI argument to ngx.location.capture. The behavior is
unspecified. So please avoid that in the first place.


More information about the nginx mailing list