extra slash added in caption when using gallery remote

yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Thu, 2004-02-19 19:19

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):

 
yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Thu, 2004-02-19 22:15

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.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-02-19 23:12

Moving to GR forum.

 
yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Fri, 2004-02-20 15:58

Thanks, I was wondering if I was posting in the wrong forum. :oops:

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-02-20 16:42

This works fine on my copy of GR 1.3.1. Please try to upgrade and see if the problem is still present.

 
yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Fri, 2004-02-20 18:44

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.

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Fri, 2004-02-20 18:58
 
yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Fri, 2004-02-20 22:16

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

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2004-02-23 17:08

Hum... this works on my setup. Can you PM me login instructions to your Gallery, so I can test with yours?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2004-02-23 23:47

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

 
yzfr6drw

Joined: 2004-02-19
Posts: 6
Posted: Tue, 2004-02-24 21:01

Thanks, I am new to PHP and didn't know about magicQuotes.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-02-24 21:33

I'm glad you enabled us to find and fix this oversight/bug. Thank you.