Merge lp:~danilo/stega/proxy-support into lp:stega
Proposed by
Данило Шеган
Status: | Merged |
---|---|
Approved by: | Sanja |
Approved revision: | 20 |
Merged at revision: | 20 |
Proposed branch: | lp:~danilo/stega/proxy-support |
Merge into: | lp:stega |
Diff against target: |
101 lines (+50/-1) 3 files modified
settings.py (+8/-0) url_shortener/tests.py (+30/-0) url_shortener/views.py (+12/-1) |
To merge this branch: | bzr merge lp:~danilo/stega/proxy-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sanja | Approve | ||
Review via email: mp+124567@code.launchpad.net |
Description of the change
Add support for handling X-Forwarded-For if hosted behind a semi-transparent
proxy (semi-transparent because it doesn't keep the REMOTE_ADDR but instead
uses X-Forwarded-For header).
To post a comment you must log in.