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

[PR #8566/f3a1afc5 backport][3.11] Fix url dispatcher index when variable is preceded by a fixed string after a slash #8579

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Aug 1, 2024

This is a backport of PR #8566 as merged into master (f3a1afc).

What do these changes do?

Fix url dispatcher index when variable is preceded by a fixed string after a slash. We need to strip off the fixed string when creating the index key so we can match against the path at that part of the url.

Are there changes in behavior for the user?

Bugfix for a regression in 3.10.x. Regressed in #7829 fixes #8567

Is it a substantial burden for the maintainers to support this?

no

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (4c81115) to head (7672934).
Report is 1 commits behind head on 3.11.

Additional details and impacted files
@@            Coverage Diff             @@
##             3.11    #8579      +/-   ##
==========================================
- Coverage   97.57%   97.51%   -0.07%     
==========================================
  Files         108      108              
  Lines       33634    33652      +18     
  Branches     4034     4035       +1     
==========================================
- Hits        32819    32815       -4     
- Misses        594      612      +18     
- Partials      221      225       +4     
Flag Coverage Δ
CI-GHA 97.42% <100.00%> (-0.06%) ⬇️
OS-Linux 97.09% <100.00%> (-0.06%) ⬇️
OS-Windows 94.62% <100.00%> (-0.08%) ⬇️
OS-macOS 96.82% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 96.92% <100.00%> (+<0.01%) ⬆️
Py-3.10.14 96.87% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 97.11% <100.00%> (+<0.01%) ⬆️
Py-3.12.4 97.23% <100.00%> (+<0.01%) ⬆️
Py-3.8.10 94.43% <100.00%> (+<0.01%) ⬆️
Py-3.8.18 96.77% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 96.62% <100.00%> (-0.31%) ⬇️
Py-3.9.19 96.88% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 ?
VM-macos 96.82% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 97.09% <100.00%> (-0.06%) ⬇️
VM-windows 94.62% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdraco bdraco merged commit 01ed189 into 3.11 Aug 1, 2024
32 of 33 checks passed
@bdraco bdraco deleted the patchback/backports/3.11/f3a1afc51665d9d2180606f250f492a61623ac6b/pr-8566 branch August 1, 2024 18:12
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.

1 participant