Skip to content

fix: regression in vars extract for wildcard host#579

Merged
elithrar merged 1 commit into
gorilla:masterfrom
harshavardhana:fix-hosts
Jul 11, 2020
Merged

fix: regression in vars extract for wildcard host#579
elithrar merged 1 commit into
gorilla:masterfrom
harshavardhana:fix-hosts

Conversation

@harshavardhana

Copy link
Copy Markdown
Contributor

Continuing from PR #447 we have to add extra
check to ignore the port as well

@harshavardhana

Copy link
Copy Markdown
Contributor Author

// cc @elithrar

@elithrar

Copy link
Copy Markdown
Contributor

Can you please add regression tests that capture this change? :)

@harshavardhana

Copy link
Copy Markdown
Contributor Author

@elithrar let me look at those - thanks for quickly looking at the PR.

@harshavardhana

Copy link
Copy Markdown
Contributor Author

would it be possible to make a release today if all goes well? @elithrar

@elithrar

Copy link
Copy Markdown
Contributor

I'll commit to having this reviewed before the end of the weekend.

Continuing from PR gorilla#447 we have to add extra
check to ignore the port as well

add tests to cover this case
@harshavardhana

Copy link
Copy Markdown
Contributor Author

@elithrar updated the PR with the tests, the same tests don't run with master branch.

@elithrar elithrar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: push a release / note this as a subtle behavior change

@elithrar elithrar merged commit 98cb6bf into gorilla:master Jul 11, 2020
@harshavardhana harshavardhana deleted the fix-hosts branch July 11, 2020 20:12
@harshavardhana

Copy link
Copy Markdown
Contributor Author

Possible to tag a release @elithrar ?

@harshavardhana

Copy link
Copy Markdown
Contributor Author

Possible to tag a release @elithrar ?

checking back to see if there can be a tagged release? @elithrar

@elithrar

Copy link
Copy Markdown
Contributor

https://github.com/gorilla/mux/releases/tag/v1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants