ZenphotoCMS Forum
Backslash after URL displays albums - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Backslash after URL displays albums (/thread-10280.html)



Backslash after URL displays albums - fretzl - 2012-08-07

Just noticed something that should not happen...I think ;-)

I accidentally typed http://www.zenphoto.org/\ (forward slash followed by backslash) and was directed to the album page.




Backslash after URL displays albums - acrylian - 2012-08-07

Indeed, that probably should give an 404. Works also with a | or one quote.

No real harm done actually as that all as that is just the gallery index. Strange is that the theme does not have this. I guess it is the album page requesting its parent somehow.




Backslash after URL displays albums - sbillard - 2012-08-07

This does not fail on my own hosted install nor on my local test installs, so it is probably something to do with the unique zenphoto.org rewrite rules or filesystem settings.

Zenphoto should be testing the folder name of the album and if it is reported not present it would give a 404 error.

Note also that the only failure I get is when I use the | or ". I get the home page if I use the \.