Skip to content

Issue #506: reverse domain names before sorting#507

Merged
magiconair merged 1 commit into
masterfrom
issue-506
Jun 10, 2018
Merged

Issue #506: reverse domain names before sorting#507
magiconair merged 1 commit into
masterfrom
issue-506

Conversation

@magiconair

Copy link
Copy Markdown
Contributor

This patch fixes a behavior where fabio routes to the wrong backend when
multiple glob matching routes are available since the sorting of the
host names was wrong.

Sorting DNS names requires reversing them before sorting since they have
their most significant part at the front.

Fixes #506

This patch fixes a behavior where fabio routes to the wrong backend when
multiple glob matching routes are available since the sorting of the
host names was wrong.

Sorting DNS names requires reversing them before sorting since they have
their most significant part at the front.

Fixes #506
@magiconair magiconair added this to the 1.5.10 milestone Jun 10, 2018
@magiconair magiconair merged commit 67ce2a2 into master Jun 10, 2018
@magiconair magiconair deleted the issue-506 branch June 10, 2018 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong route for multiple matching host glob patterns

1 participant