Welcome Guest, Not a member yet? Register   Sign In
CI 1.7svn less-than (<) is passing through set_value on Form_validation
#5

[eluser]beemr[/eluser]
Whoops, spoke too soon. loadXML() will still choke on less-thans. The new SVN Form_helper adds a form_prep() call to set_value(), so now the new down-and-dirty fix will be in form_prep() right before it returns $str:
Code:
$str = reg_replace("/&lt;/","&amp;lt;",$str);
the regex search string should be: "/"+ampersand+"lt;/"


Messages In This Thread
CI 1.7svn less-than (<) is passing through set_value on Form_validation - by El Forum - 10-20-2008, 04:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB