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

feat: Do not add explicit default ports to origin #4396

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

pstreef
Copy link
Contributor

@pstreef pstreef commented Aug 8, 2024

What's changed?

When a default port is explicitly added to a url it is not considered as part of the origin. Only if the port deviates from the protocols default port do we add it.

What's your motivation?

This would avoid having 2 different origins for the same protocol and port.

Anything in particular you'd like reviewers to focus on?

no

Anyone you would like to review specifically?

@timtebeek for review
@bryceatmoderne @shanman190 for reference

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@pstreef pstreef merged commit daa151b into main Aug 8, 2024
1 of 2 checks passed
@pstreef pstreef deleted the feat/do-not-add-explicit-default-ports-to-origin branch August 8, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants