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

Make the port of Origin be an Option<u16> #989

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 31, 2024

  1. Make the port of Origin be an Option<u16>

    The URL specification changed in 2016 [1] [2] such that now the origin's port
    should be the same as the URL's port. This means that the port can
    `None` in the case that it is the default port for a scheme.
    
    1. whatwg/url@b0e4def
    2. whatwg/html#870
    
    Fixes #821.
    mrobinson committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1538bf4 View commit details
    Browse the repository at this point in the history