-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix matching priority for host:port tuples (#675)
e566aaa reversed DNS names since they have their most significant part at the front. Unfortunately it didn't consider cases where the name is followed by a :port, making names without port always take precedence over names with a port. This patch changes the reverse function to ignores such port suffixes. Signed-off-by: Peter Schultz <peter.schultz@classmarkets.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
8 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