<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bjfield</id>
		<title>OWASP - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bjfield"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php/Special:Contributions/Bjfield"/>
		<updated>2026-05-27T09:04:15Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18025</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18025"/>
				<updated>2007-04-23T18:17:55Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== URL ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
Downloads are not yet available.&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Encoding ===&lt;br /&gt;
&lt;br /&gt;
The AntiXSS class will use any character encoding supported by libmbfl, the library upon which the mbstring functions are based, with the exception of 7bit and BASE64.&lt;br /&gt;
&lt;br /&gt;
A list of supported character sets is available at PHP.net: [http://us2.php.net/mb_string]&lt;br /&gt;
&lt;br /&gt;
The Owasp AntiXSS class utilizes the following encodings: UTF-32, HTML-ENTITIES&lt;br /&gt;
&lt;br /&gt;
Typically, your doctype definition will match the encoding of your source files and your database source.  If you run into issues where some characters don't display or display wrong, check the encoding of every data source and file involved.&lt;br /&gt;
&lt;br /&gt;
And particularly if you wish to output extended or multibyte characters from within your source files, make sure the encoding of all files involved matches the output format, unless you will be handling your conversions manually using mb_convert_encoding.&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18024</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18024"/>
				<updated>2007-04-23T18:12:03Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== URL ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
Downloads are not yet available.&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18023</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18023"/>
				<updated>2007-04-23T18:11:29Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== URL ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18022</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18022"/>
				<updated>2007-04-23T18:10:36Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== URL ===&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18021</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18021"/>
				<updated>2007-04-23T18:07:27Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== URL ===&lt;br /&gt;
...&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18020</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18020"/>
				<updated>2007-04-23T18:07:12Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
# Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See [http://us2.php.net/mb_string] for more information.&lt;br /&gt;
# To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this: require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
# It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this: echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== URL ===&lt;br /&gt;
...&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18019</id>
		<title>Category:OWASP PHP AntiXSS Library Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_PHP_AntiXSS_Library_Project&amp;diff=18019"/>
				<updated>2007-04-23T18:04:32Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: New page: == Introduction ==  AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.  == ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
AntiXSS is a class for use with PHP 5+ that helps to reduce XSS (cross-site scripting) vulnerabilities by automatically encoding output to behave only as intended.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* PHP5 and above&lt;br /&gt;
* mb_string PHP extension&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
- Make sure the '''mb_string''' extension is available with your PHP installation.  If you are using Apache on Windows, this can most likely be done by adding (or un-commenting) a line in your php.ini file.  On other platforms, you may need to recompile PHP.  See http://us2.php.net/mb_string for more information.&lt;br /&gt;
&lt;br /&gt;
- To make the code available to your program, '''include the owasp.antixss.php file''', using a line like this:&lt;br /&gt;
require_once &amp;quot;/path/to/owasp.antixss.php&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
- It is not necessary to instantiate the class, though you may if you wish.  Instead, '''make calls using the Scope Resolution Operator (::)''', like this:&lt;br /&gt;
echo AntiXSS::HTMLEncode($myOutput);&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Hello, &amp;lt;strong&amp;gt;&amp;lt;php echo AntiXSS:HTMLEncode($nameOfMyUser); ?&amp;gt;&amp;lt;/strong&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JavaScript ===&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
alert(myFunction('&amp;lt;?php echo AntiXSS:JavaScriptEncode($myVariable); ?&amp;gt;');&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== URL ===&lt;br /&gt;
...&lt;br /&gt;
http://example.com/myscript.php?&amp;lt;?php echo AntiXSS::URLEncode($myQueryStringValue); ?&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;myelement myattribute=&amp;quot;&amp;lt;?php echo AntiXSS::XMLAttributeEncode($myAttributeValue); ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo AntiXSS::XMLEncode($myElementValue); ?&amp;gt;&amp;lt;/myelement &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* owasp.antixss.php&lt;br /&gt;
* demo.owasp.antixss.php&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_Project&amp;diff=18015</id>
		<title>Category:OWASP Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_Project&amp;diff=18015"/>
				<updated>2007-04-23T17:46:35Z</updated>
		
		<summary type="html">&lt;p&gt;Bjfield: /* Alpha Status Projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An OWASP project is a collection of related tasks that have a defined roadmap and team members. OWASP project leaders are responsible for defining the vision, roadmap, and tasks for the project. The project leader also promotes the project and builds the team.&lt;br /&gt;
&lt;br /&gt;
To propose a new project, please send an email to [mailto:owasp@owasp.org?subject=New_OWASP_Project_idea owasp@owasp.org]&lt;br /&gt;
&lt;br /&gt;
Every project has an associated mail list. You can view all the lists, examine their archives, and subscribe to any of them on the [http://lists.owasp.org/mailman/listinfo OWASP Project Mailing Lists] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Release Quality Projects==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th width=&amp;quot;50%&amp;quot;&amp;gt;Tools&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Documentation&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP WebGoat Project|OWASP WebGoat Project]]&lt;br /&gt;
: an online training environment for hands-on learning about application security&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP WebScarab Project|OWASP WebScarab Project]]&lt;br /&gt;
: a tool for performing all types of security testing on web applications and web services&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP AppSec FAQ Project|OWASP AppSec FAQ Project]]&lt;br /&gt;
: FAQ covering many application security topics&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Guide Project|OWASP Guide Project]]&lt;br /&gt;
: a massive document covering all aspects of web application and web service security&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Legal Project|OWASP Legal Project]]&lt;br /&gt;
: a project focused on contracting for secure software&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Top Ten Project|OWASP Top Ten Project]]&lt;br /&gt;
: an awareness document that describes the top ten web application security vulnerabilities&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Beta Status Projects==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th width=&amp;quot;50%&amp;quot;&amp;gt;Tools&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Documentation&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP CAL9000 Project|OWASP CAL9000 Project]]&lt;br /&gt;
: a JavaScript based web application security testing suite&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Encoding Project|OWASP Encoding Project]]&lt;br /&gt;
: a project focused on the development of encoding best practices for web applications.&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP LAPSE Project|OWASP LAPSE Project]]&lt;br /&gt;
: an Eclipse-based source-code static analysis tool for Java&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Live CD Project|OWASP Live CD Project]]&lt;br /&gt;
: a CD containing ready to use versions of application security analysis and testing tools&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP .NET Project|OWASP .NET Research]]&lt;br /&gt;
: a project focused on helping .NET developers build secure applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Pantera Web Assessment Studio Project|OWASP Pantera Web Assessment Studio Project]]&lt;br /&gt;
: a project focused on combining automated capabilities with complete manual testing to get the best results&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Sprajax Project|OWASP Sprajax Project]]&lt;br /&gt;
: an open source black box security scanner used to assess the security of AJAX-enabled applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP SQLiX Project|OWASP SQLiX Project]]&lt;br /&gt;
: a project focused on the development of SQLiX, a full perl-based SQL scanner&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP WSFuzzer Project|OWASP WSFuzzer Project]]&lt;br /&gt;
: a project focused on the development of WSFuzzer, a full python-based Web Services SOAP fuzzer&lt;br /&gt;
&lt;br /&gt;
; [[ORG_%28Owasp_Report_Generator%29|OWASP Report Generator]]&lt;br /&gt;
: a project giving security professionals a way to report and keep track of their projects&lt;br /&gt;
&lt;br /&gt;
; [[Owasp_SiteGenerator|OWASP Site Generator]]&lt;br /&gt;
: a project allowing users to create dynamic sites for use in training, web application scanner testing, etc...&lt;br /&gt;
&lt;br /&gt;
; [[OWASP_Tiger|OWASP Tiger]]&lt;br /&gt;
: OWASP Tiger is a Windows application originally intended to be used for automating the process of testing various known ASP.NET security issues in hosted environments. However, it is much more versatile than that: it can help you construct and send a HTTP requests, receive and analyze the responses, match them against a set of conditions to produce alerts, notifications that something is wrong with the application(s) or service(s) being tested.&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP WeBekci Project|OWASP WeBekci Project]]&lt;br /&gt;
: OWASP WeBekci is a web based ModSecurity 2.x management tool. WeBekci is written in PHP, Its backend is powered by MySQL and the frontend by XAJAX framework.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP CLASP Project|OWASP CLASP Project]]&lt;br /&gt;
: a project focused on defining process elements that reinforce application security&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Code Review Project|OWASP Code Review Project]]&lt;br /&gt;
: a project to capture best practices for reviewing code&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Testing Project|OWASP Testing Guide]]&lt;br /&gt;
: a project focused on application security testing procedures and checklists&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Tools Project|OWASP Tools Project]]&lt;br /&gt;
: The OWASP Tools Project's goal is to provide unbiased, practical information and guidance about application security tools.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Alpha Status Projects==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th width=&amp;quot;50%&amp;quot;&amp;gt;Tools&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Documentation&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP PHP AntiXSS Library Project|OWASP PHP AntiXSS Library Project]]&lt;br /&gt;
: reduce cross-site scripting vulnerabilities by encoding your output&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Insecure Web App Project|OWASP Insecure Web App Project]]&lt;br /&gt;
: a web application that includes common web application vulnerabilities&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Interceptor Project|OWASP Interceptor Project]]&lt;br /&gt;
: a testing tool for XML web service and Ajax interfaces&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP JBroFuzz|OWASP JBroFuzz Project]]&lt;br /&gt;
: a fuzzer application, supporting a number of automated security checks including basic cross site scripting checks (XSS) as well as basic SQL injection testing.&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Orizon Project|OWASP Orizon Project]]&lt;br /&gt;
: a project focused on the development of a flexible code review engine&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Stinger Project|OWASP Stinger Project]]&lt;br /&gt;
: a project focus on the development of a centralized input validation mechanism which can be easily applied to existing or developmental applications&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP AJAX Security Project|OWASP AJAX Security Guide]]&lt;br /&gt;
: investigating the security of AJAX enabled applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Application Security Assessment Standards Project|OWASP Application Security Assessment Standards Project]]&lt;br /&gt;
: establish a set of standards defining baseline approaches to conducting differing types/levels of application security assessment&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Application Security Metrics Project|OWASP Application Security Metrics Project]]&lt;br /&gt;
: identify and provide a set of application security metrics that have been found by contributors to be effective in measuring application security  &lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Career Development Project|OWASP Career Development Project]]&lt;br /&gt;
: The OWASP Career Development project is focused on helping application security professionals understand the job market, roles, career paths, and skills to work in the field.&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Honeycomb Project|OWASP Honeycomb Project]]&lt;br /&gt;
: a comprehensive and integrated guide to the fundamental building blocks of application security&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Java Project|OWASP Java Project]]&lt;br /&gt;
: a project focused on helping Java and J2EE developers build secure applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Logging Project|OWASP Logging Guide]]&lt;br /&gt;
: a project to define best practices for logging and log management&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP PHP Project|OWASP PHP Project]]&lt;br /&gt;
: a project focused on helping PHP developers build secure applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Validation Project|OWASP Validation Project]]&lt;br /&gt;
: a project that provides guidance and tools related to validation&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP WASS Project|OWASP WASS Guide]]&lt;br /&gt;
: a standards project to develop more concrete criteria for secure applications&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP XML Security Gateway Evaluation Criteria Project|OWASP XML Security Gateway Evaluation Criteria]]&lt;br /&gt;
: a project to define evaluation criteria for XML Security Gateways&lt;br /&gt;
&lt;br /&gt;
; [[:Category:OWASP Education Project|OWASP Education Project]]&lt;br /&gt;
: a project to build educational tracks and modules for different audiences&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Bjfield</name></author>	</entry>

	</feed>