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: labstack/echo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.16.1
Choose a base ref
...
head repository: labstack/echo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.16.2
Choose a head ref
  • 4 commits
  • 5 files changed
  • 4 contributors

Commits on Oct 22, 2026

  1. fix(middleware): reject CSRF TokenLookup that produces no extractors …

    …in v4 (#3149)
    
    A TokenLookup whose sources are all unknown (for example "nope:nope")
    parsed without error but yielded zero extractors. With nothing to
    check, unsafe requests were let through without any token validation.
    Fail middleware creation instead, so the misconfiguration surfaces at
    startup.
    
    Backport of #3067.
    orinnz authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    ea608ae View commit details
    Browse the repository at this point in the history
  2. fix(middleware): check Basic auth scheme boundary in v4 (#3188)

    Backport #3138. Reject malformed schemes such as BasicX before decoding
    credentials or invoking the validator. v4 reads only its first Authorization
    header and has no AllowedCheckLimit, so its regression covers that API.
    
    Co-authored-by: Shubham Padkonde <shubhampadkonde12@gmail.com>
    vishr and Shubham-Padkonde authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    6d1bb2e View commit details
    Browse the repository at this point in the history
  3. fix(middleware): reject empty CSRF tokens in v4 (#3189)

    Backport #3135 as defense in depth. Reject empty cookie or client tokens
    before constant-time comparison, retaining normal valid-token behavior.
    
    Co-authored-by: Harry Tran <hoang@platphormcorp.com>
    vishr and hoangtaiki authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    3b16891 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2026

  1. Configuration menu
    Copy the full SHA
    679c415 View commit details
    Browse the repository at this point in the history
Loading