jonathanmccann / archive-url-firefox-addon

An addon for Firefox that allows on click saving to the Wayback Machine
https://addons.mozilla.org/en-US/firefox/addon/save-url-to-wayback-machine/
27 stars 5 forks source link

Some url parameters are removed while saving to archive.today #21

Closed kebabkalle closed 3 years ago

kebabkalle commented 3 years ago

If the url includes parameters like &order=desc or &page=5 those will be removed in the saved page and thereby it's not saving the right page. It works with the wayback machine so this may be a problem with archive.today (archive.vn)?

jonathanmccann commented 3 years ago

@kebabkalle Would you mind sharing the URL that is being saved? I tried with a URL that contained a query string but it was passed successfully to archive.vn.

Since it does work with Wayback Machine I'm assuming there's an issue with Archive and not the extension but would like to take a closer look.

kebabkalle commented 3 years ago

Happens on urls with this format at least for me,

hxxps://skyscraperpage.com/forum/showthread.php?t=172194&page=2

Also stuff like #post99999999 is removed as well.

jonathanmccann commented 3 years ago

Thank you for the example. I have reproduced the issue and it is fixed in version 1.8 (https://github.com/jonathanmccann/archive-url-firefox-addon/commit/17bd8041903330e51413db0eeb4a6c6dfcc48b5e). The add-on has been updated so please update to the latest version and let me know if there are still any issues.

This fix will resolve the issue with the first URL but it will not fix the use case of "#post99999999". Manually entering a URL with an anchor to Archive results in it being removed so it seems they do not allow it.