Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow "localhost" in cy.intercept's RouteMatcher #17068

Merged
merged 2 commits into from
Jul 12, 2021

Conversation

sainthkh
Copy link
Contributor

User facing changelog

Allow "localhost" in cy.intercept's RouteMatcher.

Additional details

  • Why was this change necessary? -> localhost is a valid hostname. But it became an error.
  • What is affected by this change? -> N/A
  • Any implementation details to explain? -> N/A

How has the user experience changed?

N/A

PR Tasks

  • Have tests been added/updated?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 23, 2021

Thanks for taking the time to open a PR!

@sainthkh sainthkh marked this pull request as ready for review June 23, 2021 01:29
@sainthkh sainthkh requested a review from a team as a code owner June 23, 2021 01:29
@sainthkh sainthkh requested review from chrisbreiding and kuceb and removed request for a team June 23, 2021 01:29
@sainthkh
Copy link
Contributor Author

flaky failures.

@jennifer-shehane jennifer-shehane requested review from flotwig and removed request for kuceb June 23, 2021 13:44
@jennifer-shehane
Copy link
Member

@sainthkh Zach is out of town for the week, so this review will be delayed til he gets back. I think he mentioned that this should be expanded a bit to include more than just "localhost", but I'm not sure exactly what he meant by that.

@flotwig flotwig merged commit cf4ccb2 into cypress-io:develop Jul 12, 2021
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.

v7.4.0 No longer allows localhost as a RouteMatcher hostname
3 participants