Typically a PHP thing, I didn't expect it in roundcube (though, yes, it's php) -- how to I make it so my users email inbound and outbound don't escape out the quotes? For example, users who type in "Chicken's the best" send and receive "Chicken's the best"
How do I make it so it does not do that? I haven't updated to beta yet, I was waiting for the issues to smooth over until I ran that route, but I'm on the most recent cvs before then.
A simple stripslashes() call to the email will take away all
back-slashes. So:
\ ==>
" ==> "
' ==> '
I'm not sure where you'd add this, but I know it's the function you'd need.
~Brett
Brady J. Frey wrote:
Typically a PHP thing, I didn't expect it in roundcube (though, yes, it's php) -- how to I make it so my users email inbound and outbound don't escape out the quotes? For example, users who type in "Chicken's the best" send and receive "Chicken's the best"
How do I make it so it does not do that? I haven't updated to beta yet, I was waiting for the issues to smooth over until I ran that route, but I'm on the most recent cvs before then. -- *Brady J. Frey* creative director // *dotfive*
1960 California St., Suite #23 San Francisco, CA 94109 *ph:* 415.354.1076 www.dotfive.com http://www.dotfive.com
There was a discussion around this earlier in the week, and I thought the patch made it into the latest beta release.
~ ~ Dave
Brett Patterson wrote:
A simple stripslashes() call to the email will take away all back-slashes. So: \ ==>
" ==> " ' ==> 'I'm not sure where you'd add this, but I know it's the function you'd need.
~Brett
Brady J. Frey wrote:
Typically a PHP thing, I didn't expect it in roundcube (though, yes, it's php) -- how to I make it so my users email inbound and outbound don't escape out the quotes? For example, users who type in "Chicken's the best" send and receive "Chicken's the best"
How do I make it so it does not do that? I haven't updated to beta yet, I was waiting for the issues to smooth over until I ran that route, but I'm on the most recent cvs before then. -- *Brady J. Frey* creative director // *dotfive*
1960 California St., Suite #23 San Francisco, CA 94109 *ph:* 415.354.1076 www.dotfive.com http://www.dotfive.com
The latest beta release contains a peace of code that should remove all slashes if magic_quotes is active. This is detected with get_magic_quotes_gpc().
Can you check your local settings using phpinfo() and see if you have magic_quotes_gpc active?
Regards, Thomas
Brady J. Frey wrote:
Typically a PHP thing, I didn't expect it in roundcube (though, yes, it's php) -- how to I make it so my users email inbound and outbound don't escape out the quotes? For example, users who type in "Chicken's the best" send and receive "Chicken's the best"
How do I make it so it does not do that? I haven't updated to beta yet, I was waiting for the issues to smooth over until I ran that route, but I'm on the most recent cvs before then. -- *Brady J. Frey* creative director // *dotfive*
1960 California St., Suite #23 San Francisco, CA 94109 *ph:* 415.354.1076 www.dotfive.com http://www.dotfive.com
Excellent, thank you Thomas (and everyone else who responded) -- as I noted, I haven't updated to the beta yet, I was waiting to hear the responses so far, as a brave man, I'm actually using it live for 100+ users:) Hey, good demo testing, eh? I'll update to the most recent version now.