Check out this entry here:
http://raygunrobot.com/archives/ThisSer ... enu-useful
Find the italicized paragraph that begins with "Note: There should only be one backslash…"
For whatever reason, other backslashes are appearing correctly, but backslashes before double quotes seem to be double-escaped or something. I'm looking in the database, and it's being stored that way there as well.
If it makes a difference, I'm using SQLite as my database backend.
If anyone knows of a work-around I can use, please let me know. I suppose I could just edit the entry in the database directly, but I'm not quite desperate enough to be that brave yet.
\" stored as and displays as \\"
-
Garrett Albright
- Regular
- Posts: 5
- Joined: Sat Mar 10, 2007 3:41 am
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: \" stored as and displays as \\"
Hi!
This double-escpaing might be caused by your server, if magic_quotes_gpc or Database-magic_quotes are enabled. Do you have access to your php.ini?
Or you could try to put this into your .htaccess:
?
Regards,
Garvin
This double-escpaing might be caused by your server, if magic_quotes_gpc or Database-magic_quotes are enabled. Do you have access to your php.ini?
Or you could try to put this into your .htaccess:
Code: Select all
php_value magic_quotes_gpc off
php_value magic_quotes_runtime Off
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Garrett Albright
- Regular
- Posts: 5
- Joined: Sat Mar 10, 2007 3:41 am