Sergey A. Osokin
November 09, 2020 03:12PM
On Mon, Nov 09, 2020 at 03:47:13PM +0100, Grzegorz Kulewski wrote:
> Hello,
>
> Is there any (sane) way to match things like: %e2%80%8b in URL in location?
> Thank you in advance.

Hi Grzegorz,

here is the code snippet (not tested):

location ~ ^/\xE2\x80\x8E {
return 200 "%e2%80%8b matched\n"/;
}

--
Sergey
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Matching of special characters in location

Grzegorz Kulewski November 09, 2020 09:48AM

Re: Matching of special characters in location

Sergey A. Osokin November 09, 2020 03:12PM

Re: Matching of special characters in location

Grzegorz Kulewski November 09, 2020 06:12PM

Re: Matching of special characters in location

Francis Daly November 09, 2020 07:20PM

Re: Matching of special characters in location

Grzegorz Kulewski November 09, 2020 08:56PM

Re: Matching of special characters in location

Francis Daly November 10, 2020 07:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready