Skip Menu |

This queue is for tickets about the Plack-Middleware-ReverseProxy CPAN distribution.

Report information
The Basics
Id: 94336
Status: new
Priority: 0/
Queue: Plack-Middleware-ReverseProxy

Owner: Nobody in particular
Requestors: TIMB [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Doesn't handle trailing spaces in X-Forwarded-For [PATCH]
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-16929-1396270261-1994.0-0-0 [...]>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 414
Download (untitled) / with headers
text/plain 414b
We're using a NetScaler MPX-15000 (running NS9.3: Build and it's adding trailing spaces into the X-Forwarded-For header. This change allows trailing spaces to be ignored. (It also prevents REMOTE_ADDR from being set to undef if the HTTP_X_FORWARDED_FOR parsing fails. That seems like a good idea, but isn't an important change for me.) See

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to