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

url: trim leading and trailing C0 control chars #42196

Merged
merged 1 commit into from
Mar 8, 2022

Commits on Mar 3, 2022

  1. url: trim leading and trailing C0 control chars

    Emulate the WHATWHG URL parse behavior of trimming leading and trailing
    C0 control characters. This moves url.parse() slightly closer to
    WHATWHG URL behavior. The current behavior is possibly insecure for some
    uses. (The url.parse() API is marked as Legacy and the documentation
    specifically says it has known bugs and insecure behaviors. Still this
    change makes a lot of sense.)
    
    This issue was reported by P0cas. https://github.com/P0cas
    Trott committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    aa0ec52 View commit details
    Browse the repository at this point in the history