PDA

View Full Version : apstrophe in image title problem


sbzx
07-26-2005, 09:36 AM
Hi,

I have come across this problem when I wanted to add a new image to by blog and the image title had an apostrophe (') in it. The title is this: mom's garden :: part one.

First I entered the title as you can see it in red, hit "update", and it appeared on my front page as mom. I was sure it was some missing escape character issue so I went to "images" and "edit" to add the backslash. Now the title looked like this: mom\'s garden :: part one. And woah! the title appeared correctly on my fron page.

But I went further than this. I went back to "images" and "edit" to see what comes up in the title line, to my astonishment it looked like this: mom! Everything after the backslash was gone!

Conclusion: one layer of escaping is gone each time I edit the title of an image. Other charachters (not just apostrohes) and other text areas may be affected. Now, I am not sure if this is a bug but I decided to post here anyway.

I'd be grateful for some insights on this. Thanks.


Pixelpost Version
You are running version 1.4.2 of Pixelpost. Released 18 July 2005.
Latest pixelpost version: Check

Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/

Host Information
PHP-version 5.0.4 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 4.1.13-nt (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache/2.0.54 (Win32) PHP/5.0.4

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: C:/Program Files/Apache Group/Apache2/htdocs/pp/images/

Configured Imagepath C:/Program Files/Apache Group/Apache2/htdocs/pp/images/

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

Connie
07-26-2005, 05:21 PM
sbxz,

this is a bug, which we have not solved until now, I must admit

the Apostrophe is a special character in PHP and we must take care that this character can be entered there without problems

I put that on our list, thanks for reporting!

sbzx
07-26-2005, 06:53 PM
Thanks. Hope to get the fix soon.

Cheers,
sbzx

Connie
07-26-2005, 08:02 PM
sbxz,

I just tested it, I was really sure that we did solved this, even in PixelPost 1.4.2 the apostrophe is not causing any problem, I tested it in PixelPost 1.4.2 and it is also ok

so I do not understand why you have this problem and I do not have it
:roll:

you may check it out at http://www.bildgier.de/cvs (version 1.4.1) and http://www.bildgier.de/dev (version 1.4.2)

one question: what is the default codepage of your browser when you edit the admin image upload-information?

raminia
07-26-2005, 09:30 PM
sbxz,

I just tested it, I was really sure that we did solved this, even in PixelPost 1.4.2 the apostrophe is not causing any problem, I tested it in PixelPost 1.4.2 and it is also ok

so I do not understand why you have this problem and I do not have it
:roll:

you may check it out at http://www.bildgier.de/cvs (version 1.4.1) and http://www.bildgier.de/dev (version 1.4.2)

one question: what is the default codepage of your browser when you edit the admin image upload-information?
Connie, there IS a bug there. press browse link and browse to archive page. place the pointer over the Coffe shot and see the popup menu that fly. The title is broken there.

Very nice shot of Espresso Coffe. I loved it.

Connie
07-27-2005, 06:05 AM
aha, now I find it, it's the "alt-" and the "title-"tag which is broken

that's a good point to start, I will go into that this evening, thanks!

yes, you are always welcome for a sip of espresso!

Connie
07-27-2005, 06:26 AM
I found it, this correction will be in the next release, for sure.

Thanks for giving the hint!

RobbieMc
02-27-2006, 05:27 PM
This problem doesn't appear on the image_template page, but does still appear on the browse page, where alt= and title= contents get cllipped at the apostrophe.

It is not a big deal for me, but just thought I would point it out.

Rob