Conversation
|
@derlih the initial #5364 had about 8 failed tests when merged to master. If we cannot find time to fit in 3.8 time window -- we can publish 3.9 relatively soon, there is no need to wait another year if we will get a value soon. P.S. |
|
I've updated the |
|
Update: |
|
The next problem is
But any middleware is called after the HTTP parser. And since the behavior of double slashes in path is changed in Also I think it means that we can't have a transition phase with both native parsers at the same time. |
|
Also I found that |
We cannot change llhttp upstream (at least it requires long enough conversation I think). |
If we really cannot support |
Awesome! |
|
@derlih I think I've found the reason for broken double-slash tests. llhttp is correct but |
Codecov Report
@@ Coverage Diff @@
## master #6144 +/- ##
==========================================
- Coverage 93.31% 93.29% -0.02%
==========================================
Files 102 102
Lines 30200 30238 +38
Branches 2706 2712 +6
==========================================
+ Hits 28180 28212 +32
- Misses 1843 1849 +6
Partials 177 177
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@asvetlov the middleware test is checking the security issue inside aiohttp. I don't want to reintroduce it ) |
|
I didn't touch tests except |
|
Tests are green, merging |
Backport to 3.8: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 441c10e on top of patchback/backports/3.8/441c10eaf7ac9ded20aed376715b53dbac9cb3f1/pr-6144 Backporting merged PR #6144 into master
🤖 @patchback |
💔 Backport was not successfulThe PR was attempted backported to the following branches:
|
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dmitry Erlikh <[email protected]>
The resurrection of #5364
Closes #3561
Co-authored-by: Dmitry Erlikh [email protected]