The browser is Firefox 102.0.1 on Linux. Maybe the second issue is related to this browser, but I think it would be quite weird if it was the same case with the first one.
If I go to the root of my gallery, all is fine. So far so good 🙂
If I go to any folder, an extra equal sign (=
) is added to the end of the URL. it's clearly some JS doing it, as both the HTML link and the URL shown by the browser are fine, but I can see the sign added before the page finishes rendering.
If I take this new URL and copy/paste into another tab (or share it), gallery.files gets confused and shows me the root of my gallery.
Additionally, if the folder has spaces on it, they get replaced by plus signs (+
) as they should in the URL. If I copy/paste that URL in another tab (and after removing the trailing equal sign 🙂, I get an error:
error: Invalid directory folder/folder+with+spaces
If I replace the plus signs with %20
(alternative way to write spaces in URLs), it works.
@Karl if you want, I can provide links in private.