osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61355] DirectorySlash directive should use protocol in X-Forwarded-Proto header when available


https://bz.apache.org/bugzilla/show_bug.cgi?id=61355

Axel Reinhold <apache@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@xxxxxxxxxxx

--- Comment #1 from Axel Reinhold <apache@xxxxxxxxxxx> ---
Created attachment 36295
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36295&action=edit
Bug 61355 - make http_scheme use X-Forwarded-Proto header

As DirectorySlash honors the scheme given in ServerName the scheme in
http_scheme() from http_core.c should respect X-Forwarded-Proto header instead
of fixing mod_dir.c for this bug. This has been implemented in the attached
patch. Should also be mentioned in the doc. Add respect of X-Forwarded-Proto to
http_scheme() instead of fixing mod_dir

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx