openzim / ifixit

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

Replace query parameter by anchor in dynamicaly generated pages #107

Open benoit74 opened 4 months ago

benoit74 commented 4 months ago

See https://github.com/openzim/ifixit/issues/106#issuecomment-2084981472

In all dynamically generated pages like "unavailable_offline", we use query strings to indicate dynamic values that has to be used in the page.

This is now known to me to be a bad idea. It only works due to kiwix-serve dropping the query parameter before transferring the request to libzim. This is known to have issues in other readers.

The queryparameter must be replaced by a magic anchor.