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

Fix handling of "flag" URL query params #3151

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Feb 7, 2024

These changes are now available in 4.92.2

Flag query parameters (e.g. /foo?bar&baz) were broken by 4.75.0, and apparently no one noticed for quite awhile. They now work again. Many thanks to @daveanderson for reporting this!

Fixes #3150.

@gwynne gwynne added bug Something isn't working semver-patch Internal changes only labels Feb 7, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (fa44af0) 76.82% compared to head (1879aa7) 76.82%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3151      +/-   ##
==========================================
- Coverage   76.82%   76.82%   -0.01%     
==========================================
  Files         211      211              
  Lines        8096     8102       +6     
==========================================
+ Hits         6220     6224       +4     
- Misses       1876     1878       +2     
Files Coverage Δ
Sources/Vapor/Utilities/RFC1123.swift 98.96% <ø> (ø)
...urces/Vapor/Content/ContainerGetPathExecutor.swift 87.50% <62.50%> (-6.62%) ⬇️

... and 1 file with indirect coverage changes

@gwynne gwynne merged commit 664a063 into main Feb 7, 2024
16 checks passed
@gwynne gwynne deleted the fix-flag-query-params branch February 7, 2024 14:02
keniwhat pushed a commit to keniwhat/vapor that referenced this pull request Apr 27, 2024
* main:
  Patch configuration and log actual port on startup (vapor#3160)
  Update provider tests to 5.10 (vapor#3178)
  Migrate to Async NIOFileIO APIs (vapor#3167)
  Removed streamFile deprecation + deactivated advancedETagComparison by default (vapor#3177)
  Remove HeadResponder (vapor#3147)
  Advanced ETag Comparison now supported (vapor#3015)
  Enabled Request Decompression By Default (vapor#3175)
  HTTP2 Response Compression/Request Decompression (vapor#3126)
  Don't set ignore status for SIGTERM and SIGINT on Linux (vapor#3174)
  Fix typos across the codebase (vapor#3162)
  Fix some Sendable warnings on 5.10 (vapor#3158)
  Allow `HTTPServer`'s configuration to be dynamically updatable (vapor#3132)
  Fix issue when client disconnects midway through a stream (vapor#3102)
  Fix handling of "flag" URL query params (vapor#3151)
  Bump the dependencies group with 1 update (vapor#3148)
  Merge Async Tests (vapor#3141)
  Fix URI handling with multiple slashes and variable components. (vapor#3143)
  Fix broken URI behaviors (vapor#3140)

# Conflicts:
#	Package.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vapor URLQueryContainer no longer supports valueless query parameters
3 participants