ZenphotoCMS Forum
Any fix so links in ZP are created using '/' instead of '%2F' - 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: Any fix so links in ZP are created using '/' instead of '%2F' (/thread-7942.html)



Any fix so links in ZP are created using '/' instead of '%2F' - gwmbox - 2010-12-11

When in the backend page/news editor, when I select the ZP icon to create a link to an image or album it inserts '/' as '%2F', which still works but makes it harder to read the html when I need to, is there something I need to set to get it to use only '/'?

Nightly Build: 1.3.1.2 12/9

Thanks

GW




Any fix so links in ZP are created using '/' instead of '%2F' - sbillard - 2010-12-12

Check tonight's build. But report back. There may have been some places I missed. Lots of not correct encoding of album names.




Any fix so links in ZP are created using '/' instead of '%2F' - gwmbox - 2010-12-13

Ok there are still a fair few characters being replaced with odd code, for example this is the result of adding a thumb to link to an album using the ZP icon button in tinymce (the only things edited here is the directory names and url)

http%3A//mysite.com/zp-core/i.php%3Fa%3Devents/this-event/the-album-name/ridden%26amp%3Bi%3DIMG_2099.jpg&s=150&cw=150&ch=150&t=true

The result is that the embedded image and link does not work or show up in the editor or on the page of the site.

Now I can sort of make out what it is but if the encoding was done correctly without turning them into three character replacements it would work a heck of a lot better.

Cheers

GW

P.S. I have now added this to the Bugtracker.




Any fix so links in ZP are created using '/' instead of '%2F' - sbillard - 2010-12-13

I do not see the ticket.




Any fix so links in ZP are created using '/' instead of '%2F' - gwmbox - 2010-12-13

http://www.zenphoto.org/trac/ticket/1739




Any fix so links in ZP are created using '/' instead of '%2F' - acrylian - 2010-12-13

I don't actually remember to have seen this behaviour with the svn recently. Do you use any special TinyMCE configurations?




Any fix so links in ZP are created using '/' instead of '%2F' - gwmbox - 2010-12-13

no, none, default as set by zenphoto/zenpage. It was fine up until I installed the nightly build of 12/8 from memory. Though that was the first nightly build I have tried up to then it was just the stable version.

Using firefox 3.6 on Windows 7 64bit

GW




Any fix so links in ZP are created using '/' instead of '%2F' - acrylian - 2010-12-13

If I recall right sbillard changed some encodings of urls, probably that together with the js stuff was not necessary at all and/or caused these issue. We will have to wait until he is back later today I think.




Any fix so links in ZP are created using '/' instead of '%2F' - gwmbox - 2010-12-13

ok....just have to wait i guess.... please keep me posted on the progress of this one

Cheers

GW