Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Main Page/Featured Article"

From NetSec
Jump to: navigation, search
(Created page with "<center><big>'''Unsafe String Replacement'''</big></center> Unsafe string replacement occurs when a replacement call is used to remove a series of text longer than one character...")
 
Line 1: Line 1:
<center><big>'''Unsafe String Replacement'''</big></center>
+
<center><big><big>'''Unsafe String Replacement'''</big></big></center>
  
 
Unsafe string replacement occurs when a replacement call is used to remove a series of text longer than one character from a string, invoked only once, to sanitize it. Because string replacement (str_replace in PHP, =~ s/// in Perl, etc) functions only do a single replacement, it is necessary to loop over them until all unsafe characters or strings are removed if you are replacing more than a single character. This also applies to replacements powered by regular expressions.
 
Unsafe string replacement occurs when a replacement call is used to remove a series of text longer than one character from a string, invoked only once, to sanitize it. Because string replacement (str_replace in PHP, =~ s/// in Perl, etc) functions only do a single replacement, it is necessary to loop over them until all unsafe characters or strings are removed if you are replacing more than a single character. This also applies to replacements powered by regular expressions.
  
<center>''[[Unsafe string replacement|Learn more - Unsafe string replacement]]''</center>
+
<center>'''''[[Unsafe string replacement|Learn more - Unsafe string replacement]]'''''</center>

Revision as of 04:42, 2 June 2012

Unsafe String Replacement

Unsafe string replacement occurs when a replacement call is used to remove a series of text longer than one character from a string, invoked only once, to sanitize it. Because string replacement (str_replace in PHP, =~ s/// in Perl, etc) functions only do a single replacement, it is necessary to loop over them until all unsafe characters or strings are removed if you are replacing more than a single character. This also applies to replacements powered by regular expressions.

Learn more - Unsafe string replacement