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

URI encoding of redirects #866

Merged
merged 4 commits into from
Jan 10, 2023
Merged

URI encoding of redirects #866

merged 4 commits into from
Jan 10, 2023

Conversation

veloman-yunkan
Copy link
Collaborator

@veloman-yunkan veloman-yunkan commented Jan 7, 2023

This is the first on of expected multiple fixes addressing #775.

This particular fix should at least eliminate @DarkmatterUAE's pain described at kiwix/kiwix-tools#589 😃. I tested it with the smaller and newer wikipedia_en_all_mini_2023-01.zim instead of wikipedia_en_all_nopic_2022-01.zim used in the original ticket, but they shouldn't be different with the respect to the data that triggered the bug.

Fixes kiwix/kiwix-tools#589

@codecov
Copy link

codecov bot commented Jan 7, 2023

Codecov Report

Base: 71.41% // Head: 71.39% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (8eb5273) compared to base (dad33a8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #866      +/-   ##
==========================================
- Coverage   71.41%   71.39%   -0.03%     
==========================================
  Files          53       53              
  Lines        3740     3740              
  Branches     2077     2077              
==========================================
- Hits         2671     2670       -1     
- Misses       1067     1068       +1     
  Partials        2        2              
Impacted Files Coverage Δ
src/server/internalServer.cpp 88.52% <100.00%> (ø)
src/library.cpp 83.59% <0.00%> (-0.23%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kelson42
Copy link
Collaborator

kelson42 commented Jan 7, 2023

@mgautierfr @veloman-yunkan Probably not related to this PR, but worried that the macOS CI fails.

Updated the create_corner_cases_zim_file to work with the latest (v3.1.3)
release of zimwriterfs.
Specifying the = symbol with single-character options makes that
character included in the option value (e.g. -l=en results in the
language of the ZIM file being set to =en).
@veloman-yunkan
Copy link
Collaborator Author

No changes, only rebased after merging #857.

@kelson42
Copy link
Collaborator

@mgautierfr Good to merge then?

@mgautierfr mgautierfr self-requested a review January 10, 2023 14:05
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.

Question mark in article title caused broser to report "The page isn’t redirecting properly"
3 participants