New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decode htmlentities in emails and logs #144
Comments
Actually, I am a) sorting this as part of the PDO cleanup, and b) that is We should not be using either of those functions in ~95% of the places they Escaping has been a perennial problem for us, we've gone from escaping As part of the PDO cleanup, I'm writing scripts to clean up and fix the
|
Where exactly are you seeing this? This is probably someone double escaping or forgetting an html_entity_decode somewhere in legacy code. |
Fixed in newinternal |
It's real annoying (and I'm sure confusing to new users) to see escaped entities in emails and in the logs on the requests... I understand escaping for the purpose of the database, but these things should be decoded before being displayed and sent in emails. I'm assuming that we are throwing them in the db with http://us2.php.net/manual/en/function.htmlentities.php and as such, when we pull them back out we should be using http://us2.php.net/html_entity_decode
The text was updated successfully, but these errors were encountered: