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

Create correct redirection when dumping zim with old namespace scheme. #306

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

mgautierfr
Copy link
Collaborator

With old namespace scheme, Item::getPath() contains the namespace,
so we must compute the relative path.

Surprisingly, it is already done for httpRedirect. Let's do it all the
time.

Fix #303

With old namespace scheme, `Item::getPath()` contains the namespace,
so we must compute the relative path.

Surprisingly, it is already done for httpRedirect. Let's do it all the
time.

Fix #303
@codecov
Copy link

codecov bot commented Jun 28, 2022

Codecov Report

Merging #306 (98ae5dc) into master (9443091) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #306   +/-   ##
=======================================
  Coverage   51.13%   51.13%           
=======================================
  Files          21       21           
  Lines        1942     1942           
  Branches     1154     1151    -3     
=======================================
  Hits          993      993           
  Misses        947      947           
  Partials        2        2           
Impacted Files Coverage Δ
src/zimdump.cpp 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9443091...98ae5dc. Read the comment docs.

@mgautierfr mgautierfr merged commit 92fc9c7 into master Jun 29, 2022
@mgautierfr mgautierfr deleted the dump_redirect branch June 29, 2022 14:22
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.

Produced symlinks are broken
1 participant