Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fastify/fast-uri
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 919dd8e
Choose a base ref
...
head repository: fastify/fast-uri
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5e179cb
Choose a head ref
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on Jun 29, 2026

  1. Merge commit from fork

    * test: cover IDN host canonicalisation
    
    Ref: GHSA-4c8g-83qw-93j6
    
    * fix: canonicalise IDN hosts via WHATWG URL
    
    Ref: GHSA-4c8g-83qw-93j6
    UlisesGascon authored and mcollina committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    2a6d357 View commit details
    Browse the repository at this point in the history
  2. Bumped v3.1.3

    Signed-off-by: Matteo Collina <hello@matteocollina.com>
    mcollina committed Jun 29, 2026
    Configuration menu
    Copy the full SHA
    0549fe3 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2026

  1. Configuration menu
    Copy the full SHA
    2d50fba View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2026

  1. Bumped v3.1.4

    Signed-off-by: Matteo Collina <hello@matteocollina.com>
    mcollina committed Jul 19, 2026
    Configuration menu
    Copy the full SHA
    6aeece6 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2026

  1. Merge commit from fork

    * fix: reject malformed authority introducer (\, /\, \/) to prevent host-confusion
    
    Adds MALFORMED_AUTHORITY_INTRODUCER regex and check in parseWithStatus()
    to detect "\\", "/\", and "\/" used as authority introducers in place
    of "//" after the scheme colon. Node's URL treats "\" as interchangeable
    with "/" on special schemes, so these inputs would parse as a different
    host — an SSRF/redirect bypass gap distinct from the previously-patched
    literal-backslash-in-authority fix (GHSA-v2hh-gcrm-f6hx).
    
    Also makes resolve() throw on malformed authority or port, since it
    returns a plain string with no error-signal mechanism.
    
    Adds 23 regression tests covering rejection, normalization, equal(),
    resolve(), and no false positives.
    
    * fix: reject whitespace-split authority introducer (TAB/LF/CR) host-confusion bypass
    
    ---------
    
    Co-authored-by: Ulises Gascon <ulisesgascongonzalez@gmail.com>
    mcollina and UlisesGascon committed Jul 31, 2026
    Configuration menu
    Copy the full SHA
    2cad02d View commit details
    Browse the repository at this point in the history
  2. Bumped v3.1.5

    Signed-off-by: Matteo Collina <hello@matteocollina.com>
    mcollina committed Jul 31, 2026
    Configuration menu
    Copy the full SHA
    5e179cb View commit details
    Browse the repository at this point in the history
Loading