Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

url: track whether url explicitly specified a port#6851

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethomson merged 1 commit intomainfromethomson/url_ports
Jul 13, 2024

Conversation

ethomson
Copy link
Member

When parsing URLs, track whether the port number was explicitly specified or not. We track this separately from whether the port is thedefault port. This is so that we can discern between URLs that have the default port explicitly specified or not.

For example: scp://host:22/foo and scp://host/foo are equivalent in terms of functionality, but are not semantically equivalent.

A user might wish to specify scp://host:22/foo in order to explicitly ensure that we connect on port 22, which might override (for example) a different configuration option.

When parsing URLs, track whether the port number was explicitlyspecified or not. We track this separately from whether the port is the_default_ port. This is so that we can discern between URLs that havethe default port explicitly specified or not.For example: scp://host:22/foo and scp://host/foo are equivalent interms of functionality, but are not semantically equivalent.A user might wish to specify scp://host:22/foo in order to explicitlyensure that we connect on port 22, which might override (for example) adifferent configuration option.
@ethomsonethomson merged commit2ecc858 intomainJul 13, 2024
19 checks passed
@ethomsonethomson deleted the ethomson/url_ports branchJuly 13, 2024 15:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ethomson

[8]ページ先頭

©2009-2025 Movatter.jp