Welcome Guest, Not a member yet? Register   Sign In
XSS Filter Stripping "1" Off of the Ends
#2

[eluser]elvix[/eluser]
it's not the XSS filtering, it's your trim function. The second argument of trim() is the character(s) you want to remove from the beginning/end of the string.

in your case, you asked it to remove TRUE, which it is interpreting as 1.

remove the true from your trim function and the problem should go away (fingers crossed). Smile


Messages In This Thread
XSS Filter Stripping "1" Off of the Ends - by El Forum - 10-09-2008, 02:31 PM
XSS Filter Stripping "1" Off of the Ends - by El Forum - 10-09-2008, 02:57 PM
XSS Filter Stripping "1" Off of the Ends - by El Forum - 10-09-2008, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB