Bad URL generated in Helpers Log
ForumBug Collectors
Melde dich bei LibraryThing an, um Nachrichten zu schreiben.
1rodneyvc
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
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
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
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.
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.