Maxim Dounin
September 28, 2020 09:56AM
Hello!

On Mon, Sep 28, 2020 at 01:54:51PM +0200, Corentin REGAL wrote:

> I didn't receive any reply, is there something wrong with the patch ?

Yes. In particular, the documentation says (http://nginx.org/r/map):

: A regular expression can contain named and positional captures
: that can later be used in other directives along with the
: resulting variable.

With your patch it will no longer work.

Just in case, relevant ticket in Trac is:

https://trac.nginx.org/nginx/ticket/564

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Fix regex capture when using map directive and rewrite

Corentin REGAL 563 September 17, 2020 04:42AM

Re: Fix regex capture when using map directive and rewrite

Corentin REGAL 193 September 28, 2020 07:56AM

Re: Fix regex capture when using map directive and rewrite

Maxim Dounin 243 September 28, 2020 09:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 235
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