-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ip-restriction) properly checking x-forwarded-for header (#2019)
- Loading branch information
1 parent
8ea75ee
commit a60b7dc
Showing
1 changed file
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a60b7dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thefosk, not sure if this is related, but at some point it would be a good idea to add tests for this new (2014 — Proposed Standard)
Forwarded
header as well: https://tools.ietf.org/html/rfc7239 (that standardisesX-Forwarded-*
type headers to aForwarded
header, just for future proofing, although it is not widely used or supported as of now).