-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Albums URL bug in subfolders, %2F instead of / #327
Comments
I can confirm this issue with Chrome as well. |
Are you all using apache? |
Yes, the problem only occurs when using Apache. |
I guess this should be fix in a higher level. |
Is URL rewriting supposed to be enabled for a nextcloud deployment? If so, it would be nice if Nextcloud told us it was off / improperly configured on the admin page, like it does for so many other config issues. |
Same problem here, with Safari/Edge tested on 19.0.2 (Photos on 1.1.0). My setup runs in a subfolder ("domain.com/sub/..nextcloud") and uses the nc default htaccess rewrite rules. Any further information required? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
PR welcome :) |
Are you referring to the https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#pretty-urls ? I have mod_rewrite enabled on my server. And all of the other recommended ones as well. This bug exists with all of those enabled on apache, unless there is a config I need to set that I missed... |
The problem occurs with a subfolder, with one folder there are no problems. |
@Mikescops this is the issue I was telling you about :) |
Yep, I know, should find something because it's kinda annoying |
When you are using the 'albums' feature (index.php/apps/photos/albums/) and clicking through folder hierarchies, sometimes the URL changes wrongly when using Firefox (75.0 on Linux Mint).
When you go to a subfolder of any folder, the URL changes to e.g. "index.php/apps/photos/albums/MyPictures%2FGreece" instead of "index.php/apps/photos/albums/MyPictures/Greece", the / is wrongly displayed as the html-code %2F. When you reload while the browser in is such a subfolder, apache just passes you a 404-error.
When going to even deeper subfolders, the error continues, / is still displayed as %2F which results in 404-errors when reloading.
I am not skilled enough in php and in the NextCloud backend to pass a suitable correction for the app, so it would be nice, if anybody who feels skilled enough, could fix this little bug.
Greetings, John
The text was updated successfully, but these errors were encountered: