Injection or bad in anyway?
#6
(2015-10-24, 01:04 PM)dragonexpert Wrote: Use nl2br to make new lines actually show a new line.

Well I don't want to change the code of how a thread is read, I want to figure out how to properly insert the data without having to manipulate where it is read.

Otherwise I would have a major headache figuring out why the whole forum is not reading threads in a different way it was.

When I manually changed my $tmessage from \n to <br> it simple "parsed" it as it is considered as HTML and result was &qt;br&lt;, which is technically what the nl2br would do, turn it in <br>.

I further checked the datahandler and function_post and I don't see nl2br being used at all.
Reply


Messages In This Thread
Injection or bad in anyway? - by sleeping - 2015-10-23, 10:57 AM
RE: Injection or bad in anyway? - by Omar G. - 2015-10-23, 11:21 PM
RE: Injection or bad in anyway? - by sleeping - 2015-10-24, 07:52 AM
RE: Injection or bad in anyway? - by dragonexpert - 2015-10-24, 01:04 PM
RE: Injection or bad in anyway? - by sleeping - 2015-10-24, 05:03 PM
RE: Injection or bad in anyway? - by Omar G. - 2015-10-24, 05:28 PM
RE: Injection or bad in anyway? - by sleeping - 2015-10-24, 05:29 PM
RE: Injection or bad in anyway? - by Omar G. - 2015-10-25, 04:51 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)