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 #initializeFromString: in WAUrl to take into account that ‘://’ can also be included in the query #1377

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

Rinzwind
Copy link
Member

@Rinzwind Rinzwind commented Sep 8, 2023

This pull request fixes issue #1376 by making #initializeFromString: in WAUrl take into account that :// can also be included in the query.

The example this pull request adds to #testNastyEdgeCasesParsing reflects the use of #absolute: in #requestUrlFor: in WAFastCGIRequestConverter: the argument to #absolute: is not a valid absolute URI as defined in section 4.3 in RFC 3986, as it does not begin with a scheme, but it is a valid request target as defined in section 3.2 in RFC 9112. WAUrl and WAFastCGIRequestConverter should maybe be made to better distinguish between those.

@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% 🎉

Comparison is base (7d0ccbd) 54.17% compared to head (da095f6) 54.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1377      +/-   ##
==========================================
+ Coverage   54.17%   54.19%   +0.02%     
==========================================
  Files        8887     8887              
  Lines       72215    72220       +5     
==========================================
+ Hits        39121    39139      +18     
+ Misses      33094    33081      -13     
Files Changed Coverage Δ
...kage/WAUrl.class/instance/initializeFromString..st 100.00% <100.00%> (ø)
...rlTest.class/instance/testNastyEdgeCasesParsing.st 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.

📢 Have feedback on the report? Share it here.

Copy link
Member

@jbrichau jbrichau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jbrichau jbrichau merged commit 7c46627 into SeasideSt:master Sep 11, 2023
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants