deactivate HTML in comments - or how and where to escape

About: what's next ?

When comming from comment edit box going into db.  This happens in /update/
Note that when displaying from db to a room or an rte box  nothing need be done as the html characters should show verbatem and not be interperted as markup.

Tags

  1. programming
  2. test

Comments


Mark de LA says
google f u c k

unknown says
[title shit & two]

Mark de LA says
[title gonna need]

Seth says
Oh, and in case you didnt realize it, having this access into my system was one of the major reasons that i didnt want to advertise it to hackers. Now i feel more like inviting people in.

Seth says
hello world

Seth says
<b>hello world</b>

Seth says
Seth Russell is <b><i>Great</i></b>

Seth says
Seth Russell is even Greater !

You can markup text in the RTE box, but not in the say box.

Seth says
It frigging works ! first time ... out of the box :))))

Seth says
<b>We have finally closed the security bug !!!!</b> <?php fuck the system ?> ha ha ha

Seth says
so i say 'this' or "this" or <a href="whatever">' and does it come out right ?

Seth says
yep, works fine :))

Seth says
also note that old comments that had embedded markup will still interprete that markup [see: item 924] ... no prob with that

Seth says
and markup entered in the RTE box will look just like it did when you typed it in.  <b>This</b> is not bold; but this is. 

Seth says
Now is that the best of all worlds ... <b><i>or what</i></b> ... ?

Seth says
... err ...well ... old habits die slowley

wow power leveling says

This is my first time comment at your blog.
Good recommended website.

See Also

  1. Thought Footer problem on individual page at speaktomecatalog.com with 19 viewings related by tag "programming".
  2. Thought Promotions in the Speak To Me Catalog Shopping Basket with 6 viewings related by tag "programming".
  3. Thought Internet needs serious, well-written, critical investigations into societal phenomena. with 3 viewings related by tag "test".
  4. Thought Foundation Stone meditation with 2 viewings related by tag "test".
  5. Thought x with 1 viewings related by tag "test".
  6. Thought about: Then each went to his own home with 1 viewings related by tag "programming".
  7. Thought Guess - this is a Test with 1 viewings related by tag "test".
  8. Thought about: try ruby! (in your browser) with 1 viewings related by tag "programming".
  9. Thought many useful php routines with 1 viewings related by tag "programming".
  10. Thought unzip for install.php with 1 viewings related by tag "programming".
  11. Thought SQL for selecting triples inside of one field. with 1 viewings related by tag "programming".
  12. Thought some thoughts on trans domain data transfer with 1 viewings related by tag "programming".
  13. Thought a good place to satisfy question~answer with 0 viewings related by tag "programming".
  14. Thought sources of php code with 0 viewings related by tag "programming".
  15. Thought sql explained for group tagroom with 0 viewings related by tag "programming".
  16. Thought related tags with 0 viewings related by tag "programming".
  17. Thought propogate logic from front door to rooms and refactor with 0 viewings related by tag "programming".
  18. Thought ok here is the sizing algorithm that will go into testing with 0 viewings related by tag "programming".
  19. Thought Just a test with 0 viewings related by tag "test".
  20. Thought ducks in a row with 0 viewings related by tag "test".
  21. Thought fonts with 0 viewings related by tag "test".
  22. Thought test with 0 viewings related by tag "test".
  23. Thought fake newbies with 0 viewings related by tag "test".
  24. Thought It's on our server now ... wonder if it works with 0 viewings related by tag "programming".
  25. Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "programming".
  26. Thought Perl regex with 0 viewings related by tag "programming".
  27. Thought [title (1663)] with 0 viewings related by tag "programming".
  28. Thought Pride an Glory in Your Code with 0 viewings related by tag "programming".
  29. Thought tutorial for php classes with 0 viewings related by tag "programming".
  30. Thought do we need to embed videos ? with 0 viewings related by tag "test".
  31. Thought This is a tutorial on the rte software with 0 viewings related by tag "programming".
  32. Thought work in progress for Chat Who's Here with 0 viewings related by tag "programming".
  33. Thought about: PEAR :: Package :: HTML_AJAX with 0 viewings related by tag "programming".
  34. Thought about: About image buttons in HTML forms (and multi-line texts in normal submit buttons) with 0 viewings related by tag "programming".
  35. Thought programming of edit tag with 0 viewings related by tag "programming".
  36. Thought This is a test with 0 viewings related by tag "test".
  37. Thought mostly about images with 0 viewings related by tag "test".
  38. Thought about: joel bender - google+ - me, after blindly copying a load of code into a project with 0 viewings related by tag "programming".
  39. Thought Playing in the river with 0 viewings related by tag "programming".
  40. Thought Link Test with 0 viewings related by tag "test".
  41. Thought testing mostly tag maintence with 0 viewings related by tag "programming".
  42. Thought the tag maintence window problem goes on with 0 viewings related by tag "programming".
  43. Thought Why does this work on his server and not on mine ? with 0 viewings related by tag "programming".