On Fri, Mar 24, 2017 at 05:18:23PM -0400, c0nw0nk wrote:

Hi there,

> The cookie name = a MD5 sum the full / complete value of the cookie seems to
> cut of at a plus + symbol

Your regex piece is

(?<session_value>[\w]{1,}+)

which says to match one or more \w characters ({1,}), one or more times (+)

\w is "word character", which is alnum-or-underscore.

> What would the correct regex to be to ignore / remove + symbols from
> "session_value"

If you want to match "word character or plus", use something like [\w+].

And then also probably remove one of "{1,}" and "+", since they mean
the same thing and having both is redundant.

        f
-- 
Francis Daly        fran...@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to