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

api: redirect double slashes #936

Merged
merged 1 commit into from
Aug 9, 2024
Merged

api: redirect double slashes #936

merged 1 commit into from
Aug 9, 2024

Conversation

aparcar
Copy link
Member

@aparcar aparcar commented Aug 9, 2024

This was an issue in the past where people would set the upgrade server URL to something with a trailing slash, resulting requests containing a duplicate slash.

Redirect double slashes to single slashes to solve the issue.

This was an issue in the past where people would set the upgrade server
URL to something with a trailing slash, resulting requests containing a
duplicate slash.

Redirect double slashes to single slashes to solve the issue.

Signed-off-by: Paul Spooren <[email protected]>
Copy link

codecov bot commented Aug 9, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.59%. Comparing base (5e65dec) to head (df6328e).
Report is 90 commits behind head on main.

Files Patch % Lines
asu/main.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #936      +/-   ##
==========================================
+ Coverage   80.75%   87.59%   +6.84%     
==========================================
  Files          15       14       -1     
  Lines         977     1008      +31     
==========================================
+ Hits          789      883      +94     
+ Misses        188      125      -63     

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

@aparcar aparcar merged commit cda6f5a into openwrt:main Aug 9, 2024
3 of 4 checks passed
@aparcar aparcar deleted the double branch August 9, 2024 20:50
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