Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Detect https on reversed proxy #7233

Closed
wants to merge 2 commits into from

Conversation

snapshotpl
Copy link
Contributor

I have application which works with reversed proxy. Generated urls by serverUrl view helper are with http on https pages. I have found that in $_SERVER exists key HTTP_X_FORWARDED_PROTO with information about scheme.

weierophinney added a commit that referenced this pull request Feb 25, 2015
Detect https on reversed proxy
weierophinney added a commit that referenced this pull request Feb 25, 2015
@weierophinney
Copy link
Member

Merged to develop for release in 2.4.

weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants