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: honojs/hono
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.13.17
Choose a base ref
...
head repository: honojs/hono
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.13.18
Choose a head ref
  • 6 commits
  • 15 files changed
  • 2 contributors

Commits on Nov 11, 2026

  1. Merge commit from fork

    yusukebe authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    b0af6bb View commit details
    Browse the repository at this point in the history
  2. Merge commit from fork

    yusukebe authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    9aeb45b View commit details
    Browse the repository at this point in the history
  3. Merge commit from fork

    * fix(url): stabilize paths with malformed percent escapes
    
    Preserve percent escapes during fallback decoding and prevent malformed escapes from changing meaning after URL serialization, while keeping stable paths such as /100% unchanged.
    
    Check path stability against a fixed HTTP base so an unparsable request authority cannot make getPath throw before error handling.
    
    * fix(mount): safely forward routed paths to mounted apps
    
    Slice the matched mount prefix from the parent routed path, including after route grouping, and preserve backslashes and control characters when rebuilding the request URL.
    
    Reject dot segments and malformed percent encoding or UTF-8 that changes after URL serialization and decoding. Reject ambiguous request URL authorities, and count trailing slashes in the received URL before parsing so non-strict parent and child applications cannot remove different slashes.
    
    Preserve stable malformed paths, valid custom getPath encodings, replaceRequest overrides, and existing configuration errors. Cover both mount APIs with regression tests.
    
    * fix(mount): reject optional regular expression parameters
    
    Reject unsupported optional regular expression parameters as configuration errors before measuring the mount prefix. Previously they were measured as literal route text, allowing certain path lengths to forward an unintended suffix past parent authorization.
    
    Throw Error so the default error handler responds with HTTP 500, consistently with other unsupported mount configurations. Keep HTTP 400 for request paths that cannot be forwarded safely, and update both mount APIs' throws documentation.
    
    Cover short and matching-length inputs, slash-matching patterns, optional parameters in the middle of a route, custom error handling, and both mount APIs with PatternRouter. Verify separate route registrations as the supported workaround.
    
    * remove unused stripPathPrefix
    
    ---------
    
    Co-authored-by: Yusuke Wada <[email protected]>
    usualoma and yusukebe authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    b982c02 View commit details
    Browse the repository at this point in the history
  4. Merge commit from fork

    yusukebe authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    c7ff08f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0809e48 View commit details
    Browse the repository at this point in the history
  6. 4.13.18

    yusukebe committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    f6fbaf0 View commit details
    Browse the repository at this point in the history
Loading