Last modified: 2013-12-05 17:43:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60041, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58041 - Framework generated links are incorrect when served from behind a proxy
Framework generated links are incorrect when served from behind a proxy
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Wikimania Scholarships (Other open bugs)
wmf-deployment
All All
: High major (vote)
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-05 17:20 UTC by Bryan Davis
Modified: 2013-12-05 17:43 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2013-12-05 17:20:34 UTC
When the app is hosted behind a proxy that is performing SSL termination the Slim framework does not respect the HTTP_X_FORWARDED_PROTO information provided by Apache when generating absolute links. This causes the templating engine's siteUrl() function to generate absolute links with the http protocol instead of the expected https protocol.
Comment 1 Gerrit Notification Bot 2013-12-05 17:32:31 UTC
Change 99426 had a related patch set uploaded by BryanDavis:
Add support for HTTP_X_FORWARDED_PROTO

https://gerrit.wikimedia.org/r/99426
Comment 2 Gerrit Notification Bot 2013-12-05 17:41:33 UTC
Change 99426 merged by jenkins-bot:
Add support for HTTP_X_FORWARDED_PROTO

https://gerrit.wikimedia.org/r/99426

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links