FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » Test Forum » testing HTML character entity double escaping (how can we insert those entities in posts?)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
testing HTML character entity double escaping [message #168252] Wed, 20 March 2013 11:02
captain picard is currently offline  captain picard   Austria
Messages: 15
Registered: March 2013
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
&
ß
'
&

& is converted to & by default!

as i've seen and allready tried out in html mode, it works. but thats not the solution in this case! guess you're using the htmlentities() or htmlspecialchars() to escape those signs! please tell me where i can find the code where this replacement is done?

i would like to add the new parameter double_encode on using htmlentities(). this should fix the issue. htmlentities are not escaped twice then: & -> &

thanks in advance
cheers,
dk
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Apple ????? ???? ?? ????
Next Topic: The Best Test
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 16 05:53:01 EST 2017

Total time taken to generate the page: 0.00653 seconds