Bad URL generated in Helpers Log

ForumBug Collectors

Melde dich bei LibraryThing an, um Nachrichten zu schreiben.

Bad URL generated in Helpers Log

1rodneyvc
Aug. 28, 2021, 10:41 pm

At https://www.librarything.com/log_helpers.php?view=pictures

Click on a time period: 1 hour | 3 hours | 8 hours | 1 day | 2 days | 3 days | 7 days

This generates the URL https://www.librarything.com/log_helpers.php?view=pictures?view=pictures&spa... (for instance) and nothing loads.
Each time you click on a time period the 'view=???' component gets added to the URL.
e.g. https://www.librarything.com/log_helpers.php?view=pictures?view=pictures&spa...

Manually correcting the URL to https://www.librarything.com/log_helpers.php?view=pictures&span=48 works.

FF 91.0.2 macOS 10.14.6
Safari 14.1.2 macOS 10.14.6

2kristilabrie
Aug. 30, 2021, 8:07 am

I swear I remember this bug from a short time ago, but I can't find it and don't recall if it was officially fixed (I assume it was and has maybe cropped back up). Thanks for the report!

3kristilabrie
Sept. 20, 2021, 10:25 am

Another instance of this bug:

1. Go to https://www.librarything.com/log_helpers.php
2. Click on the Author "Combination" page in the menu at the top of the page. End of the URL changes to /log_helpers.php?view=authors
3. Click on "2 days". End of URL changes to /log_helpers.php?view=authors?view=authors&span=48

Bug: The content of the page below the menu doesn't load. Note that there are two identical queries/parameters are getting added ("?view=authors") when only one is needed.

NB: If you remove the duplicate parameter, the page loads: https://www.librarything.com/log_helpers.php?view=authors&span=48

Also, this bug doesn't always break the content on the page. For example, https://www.librarything.com/log_helpers.php?view=otherauthors?view=otherauthors... loads page content.

4Nevov
Dez. 3, 2021, 6:33 pm

Bumping this bug as I wrote up a bug report then realised I had only searched on Zeitgeist bug instead of trying Helpers Log bug. I've changed the category to Zeitgeist (was Other), hope that's okay.

5Nevov
Mai 14, 2022, 6:08 am

Re-bump as had to navigate around this bug today.

6knerd.knitter
Mrz. 15, 2023, 7:47 am

Fixed.