-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
authentication: fix loopback detection
When an request is coming from a loopback interface, authentication is not required. This commit fixes ipv4 addresses mapped inside ipv6 addresses, by first converting to a canonical address. There addresses were otherwise falsely tested as a non loopback addresses.
- Loading branch information
1 parent
c516208
commit 8ec72c6
Showing
2 changed files
with
3 additions
and
11 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
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