When uploading pictures through gallery remote, I noticed that a "\" is added if I use a ' or a " in the caption. I tried changing the upload preference by unchecking the "allow html markup in cations and extra fields" and I still get a \ appended before the '. Could anyone tell me how I could solve this?
<your message here>
----
Gallery 1.4.2
Gallery Remote 1.2.1
IIS5
ImageMagick
PostNuke 726
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 6
The problem doesn't even get to the server. I can see in the logs of gallery remote that the caption has the \ appended to the quotes even before it was sent to the server.
Can someone help me? Or at least point me to the right file so I can change the code.
Posts: 8194
Moving to GR forum.
Posts: 6
Thanks, I was wondering if I was posting in the wrong forum. :oops:
Posts: 1479
This works fine on my copy of GR 1.3.1. Please try to upgrade and see if the problem is still present.
Posts: 6
Where can I get GR 131? I just tried downloading it again and it's 121. It's the exact same thing (at least the install file) as the one I installed a few days ago.
Posts: 93
you can get it here:
http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=31958&release_id=216743
Posts: 6
I'v tried it, but it is still the same. I uninstalled 121, deleted the directory and the .GalleryRemote. Then I installed 131, and the results are the same.
Entered in Caption:
"Hello" I'm Andrew
Outputted in Gallery
\"Hello\" I\'m Andrew
Posts: 1479
Hum... this works on my setup. Can you PM me login instructions to your Gallery, so I can test with yours?
Posts: 1479
Gallery 1.4.3-b51 or later will be available on the Gallery nightly site, and it should fix this problem.
http://sourceforge.net/tracker/?func=detail&atid=107130&aid=902918&group_id=7130
Posts: 6
Thanks, I am new to PHP and didn't know about magicQuotes.
Posts: 1479
I'm glad you enabled us to find and fix this oversight/bug. Thank you.