diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-04-15 02:06:19 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-04-15 02:06:19 +0200 |
commit | 757dda61aa0556aca8172dc2a8175596afe28ce2 (patch) | |
tree | 825d49d42328cdcf46642c1df71233d6879975c1 /user_guide | |
parent | b4ae79daccd0823fd86bda446046c933164ffb01 (diff) |
Fixing a bug where odbc/mssql/oci8 db drivers would encounter a PHP error due to a function being moved from the input to security class.
Moving remove_invisible_characters() to Common.php so the entire class does not need to be instantiated in those database drivers.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 3 | ||||
-rw-r--r-- | user_guide/general/common_functions.html | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 02cf6d06f..5e0f5ae05 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -133,7 +133,8 @@ Hg Tag: </p> <li>Eliminated a call to is_really_writable() on each request unless it is really needed (Output caching)</li> <li>Documented <kbd>append_output()</kbd> in the <a href="libraries/output.html">Output Class</a>.</li> <li>Documented a second argument in the <kbd>decode()</kbd> function for the <a href="libraries/encryption.html">Encryption Class</a>.</li> - <li>Documentd db->close().</li> + <li>Documented db->close().</li> + <li>Moved _remove_invisible_characters() function from the <a href="libraries/security.html">Security Library</a> to <a href="general/common_functions.html">common functions.</a></li> </ul> </li> </ul> diff --git a/user_guide/general/common_functions.html b/user_guide/general/common_functions.html index 196e3777e..0e68d1113 100644 --- a/user_guide/general/common_functions.html +++ b/user_guide/general/common_functions.html @@ -99,6 +99,12 @@ else<br /> <p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">See here</a> for a full list of headers.</p> + +<h2>remove_invisible_characters(<var>$str</var>)</h2> +<p>This function prevents inserting null characters between ascii characters, like Java\0script.</p> + + + </div> |