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: v3.1.1
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: v3.1.2
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on May 5, 2026

  1. Configuration menu
    Copy the full SHA
    a95158a View commit details
    Browse the repository at this point in the history
  2. Merge commit from fork

    * fix: reject malformed authority and port normalization
    
    * test: add regression tests for encoded authority delimiters in host
    
    Covers %40, %3A, %2F, %23, %3F in host across normalize, parse,
    equal, resolve, and serialize. Includes cross-scheme and layered
    encoding vectors.
    
    * fix: re-escape gen-delims in host after unescape to prevent authority change
    
    unescape() decodes all percent-encoded characters including reserved
    authority delimiters (%40->@, %3A->:, %2F->/, %3F->?, %23->#).
    Per RFC 3986 these must stay encoded in the host component.
    
    Adds reescapeHostDelimiters() and applies it at the three call sites
    where unescape() is used on the host: parse(), normalizeComponentEncoding(),
    and recomposeAuthority().
    
    * refactor: track malformed authority status during parse
    
    * refactor: centralize malformed input handling
    
    ---------
    
    Co-authored-by: Ulises Gascon <[email protected]>
    mcollina and UlisesGascon authored May 5, 2026
    Configuration menu
    Copy the full SHA
    6c86c17 View commit details
    Browse the repository at this point in the history
  3. fixup: linting

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2026
    Configuration menu
    Copy the full SHA
    c65ba57 View commit details
    Browse the repository at this point in the history
  4. Bumped v3.1.2

    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed May 5, 2026
    Configuration menu
    Copy the full SHA
    919dd8e View commit details
    Browse the repository at this point in the history
Loading