﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2506	proxy_redirect is decoding %24	sadiqkhoja@…		"I have following configuration:

{{{
    location /- {
      proxy_pass http://localhost:8005/-;
      proxy_redirect off;
      proxy_set_header Host $host;
    }
}}}

When the request is `<host>/-/media/%24somefile.jpg`, it is passed as `<backend>/-/media/$somefile.jpg`. Note that %24 has been decoded into $

However if I remove `/-` from the proxy_pass then %24 is not decoded into $.

It looks like some sort of regex bug here. Is there a way to stop decoding of %24 into $ when there is a path in the proxy_pass.
"	defect	closed	major		nginx-core	1.23.x	invalid	proxy_pass		Linux 060f36d625fc 5.15.0-1031-aws #35~20.04.1-Ubuntu SMP Sat Feb 11 16:19:06 UTC 2023 x86_64 GNU/Linux	nginx/1.23.4
