Another inconsistency I see is if I pass an unescaped URL in the header, then special characters are escaped EXCEPT for square brackets.by isuraed - Other discussion
Hello, I'm noticing an issue where the square bracket characters are not url encoded when passing to the upstream server. My config is upstream avatar { server localhost:8879; } location /avatar-internal/ { internal; proxy_pass http://avatar/; } I'm passing a url encoded value in the X-Accel-Redirect header, e.g. /avatar-internal/file%5D.jpg?x=1 but nginx sends the uby isuraed - Other discussion