WIP: ERP5Type/patches: use the first entry of HTTP_X_FORWARDED_FOR as the source IP address.
Thanks to slapos!769 (merged), we can just use the first entry of HTTP_X_FORWARDED_FOR as the source IP address.
/cc @luke @vpelletier @tomo
Thanks to slapos!769 (merged), we can just use the first entry of HTTP_X_FORWARDED_FOR as the source IP address.
/cc @luke @vpelletier @tomo
Step 1. Fetch and check out the branch for this merge request
git fetch origin git checkout -b "trustable-x-forwarded-for" "origin/trustable-x-forwarded-for"
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/master" git merge --no-ff "trustable-x-forwarded-for"
Step 4. Push the result of the merge to GitLab
git push origin "master"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.