Skip to content

"hide" the port if set to the scheme's default port #79

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

Closed
bagder opened this issue Apr 5, 2023 · 0 comments
Closed

"hide" the port if set to the scheme's default port #79

bagder opened this issue Apr 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bagder
Copy link
Member

bagder commented Apr 5, 2023

trurl could be told to not show the port number when the URL is displayed and the port number is set to the default number of the scheme

This is what it does now:

$ trurl https://example.com:4433/ --set port=443
https://example.com:443/

This is how it could behave:

$ trurl https://example.com:4433/ --set port=443
https://example.com/
@bagder bagder added the enhancement New feature or request label Apr 5, 2023
@bagder bagder closed this as completed in e418d7c Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant