On Sat, Jul 04, 2015 at 02:03:47PM -0400, ramsoft75 wrote:
Hi there,
> i run the following :
>
> curl -A iPad -i http://www.domain.com/#!/pt/--item/pt/32516/Farinha
>
> and the result was :
>
> -bash: !/pt/--item/pt/32516/Farinha : event not found
A few things here:
"!" is special to bash, so you have to shell-escape it for "curl" to see it.
"#" is special in a url; it is not part of the normalised variable $uri.
Possibly using $request_uri instead of $uri in your configuration will
be appropriate? They are different variables with different values,
so there are probably some cases where using one will break things.
Since you are using it in a redirect, probably $request_uri is the
correct one to use regardless.
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx