Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Special characters https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=648 |
Page 1 of 1 |
Author: | Sapp [ 27. Nov 2006, 15:53 ] |
Post subject: | Special characters |
When you use special characters like an & in the name of a folder and in that folder are more than 9 subfolders so you have to go to the second page you'll get an error. Folder first/secon cannot be found... it leaves the & and everything what is after it |
Author: | TinyWebGallery [ 27. Nov 2006, 15:55 ] |
Post subject: | |
i'll check this - in the meantime - don't use a & in the foldername and use foldername.txt to give the folder the displayname! /Michael |
Author: | TinyWebGallery [ 27. Nov 2006, 16:45 ] |
Post subject: | |
Hi, I can recreate this bug on my system and will fix it for the next version. Please use the workaround till then. Thanks, Michael |
Author: | TinyWebGallery [ 27. Nov 2006, 16:53 ] |
Post subject: | |
Hi, if you want to fix it quickly: open inc/showfolders.inc.php look for $album_next = "&twg_album=" . substr($localdir, strlen($basedir) + 1); $album_next_js = "&twg_album=" . substr($localdir, strlen($basedir) + 1); ~ line 431 replace it with $album_next = "&twg_album=" . urlencode(substr($localdir, strlen($basedir) + 1)); $album_next_js = "&twg_album=" . urlencode(substr($localdir, strlen($basedir) + 1)); have fun . /Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |