You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question 1: What is the problem?
When setting passenger_set_header to a header containing underscores, nothing is being visible in the application and there's no error or warning message in the logs.
This doesn't work, that is, the header is not being created and there's no hint anywhere about the when and why the header was being ignored:
The option works similar to the proxy_set_header directive of the Nginx http proxy module (as mentioned by our docs), which also filters underscores by default.
Issue report
Question 1: What is the problem?
When setting
passenger_set_header
to a header containing underscores, nothing is being visible in the application and there's no error or warning message in the logs.This doesn't work, that is, the header is not being created and there's no hint anywhere about the when and why the header was being ignored:
However, this does work:
And besides, it not only works, but the header which then appears to the application is
HTTP_X_CLIENT_DN
(with underscores again).It shall just work or at least be reported to the error log. The documentation shall mention the undersore/dash translation behavior.
Headers containing underscores are being ignored silently.
I detailed the setup and test app on Stackoverflow.
Your answer:
Question 2: Passenger version and integration mode:
Your answer:
Question 3: OS or Linux distro, platform (including version):
Your answer:
Question 4: Passenger installation method:
Your answer:
[ ] RubyGems + Gemfile
[ ] RubyGems, no Gemfile
[ ] Phusion APT repo
[ ] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[X] Other, please specify: ports
Question 5: Your app's programming language (including any version managers) and framework (including versions):
best regards,
TOm
The text was updated successfully, but these errors were encountered: