ZenphotoCMS Forum
Small write error in URL - 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: Small write error in URL (/thread-1806.html)



Small write error in URL - hanshenderickx - 12-11-2007

I don't think this is actually a bug, but:

some of the links appear ok in the page source, for example:
http://localhost/zenphoto/index.php?album=habitats-prives/projet-006

when clicked, the URL looks like this:
http://localhost/zenphoto/index.php?album=habitats-prives%2Fprojet-006
so "/" is replaced by %2F

I'm not using mod_rewrite. How can this be fixed?




Small write error in URL - trisweb - 13-11-2007

Unfortunately the '/' character is being encoded by your browser. That's automatic for any URL strings after the ? part (the query string) and can't really be fixed. Sorry about that.

mod_rewrite is exactly for that purpose; otherwise you'll have to deal with the ugly-looking URLs.