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