Odd code in sanitize.php 1.2.5 line 223?
As the poster on the group says, the following code is quite odd:
$data = str_replace("'", "'", str_replace("!", "!", $data));
Any ideas why that line appears in the file?
Asked by ojtibi, on 30/10/09
2 Answers
its still in 1.3 also line 234. there is another funny one on 222 in 1.3 $data = str_replace(chr(0xCA), '', str_replace(' ', ' ', $data)); replace a space with a space?
there must be a reason for this
Answered by dogmatic69on 30/10/09
It's a little odd bro, if security means "replacing a lemon with another lemon".
ojtibi - on 1/11/09
<< comments | comments >>
<< previous next >>
Your Answer
You can use Creole Wiki Syntax to format your text.
Tagged with
Rating
0
Viewed
330 times
Last Activity
on 1/11/09
This is the kind of code that needs a comment >.<
trevorsg - on 30/10/09