openzim / ifixit

iFixit to ZIM scraper
GNU General Public License v3.0
25 stars 3 forks source link

URLs of missing items are not encoded properly #71

Closed benoit74 closed 2 years ago

benoit74 commented 2 years ago

Missing items are handled with a redirect to 'home/missing' with an additional query parameter 'url' being the original item URL. The original item URL is not encoded properly.

We have for instance home/missing?url=Tutoriel/-/29207 while we should have home/missing?url=Tutoriel%2F-%2F29207

The redirect is then considered invalid by the zimcreator and removed.