├── README └── examples ├── 1-htmlspecialchars-single_quoted_attribute-fixed1.php ├── 1-htmlspecialchars-single_quoted_attribute-fixed2.php ├── 1-htmlspecialchars-single_quoted_attribute.php ├── 2-htmlspecialchars-quoteless_attribute-fixed.php ├── 2-htmlspecialchars-quoteless_attribute.php ├── 3-htmlspecialchars-swallowed_quotes-fixed.php ├── 3-htmlspecialchars-swallowed_quotes.php ├── 3-htmlspecialchars-swallowed_quotes2-fixed.php ├── 3-htmlspecialchars-swallowed_quotes2.php ├── 4-htmlspecialchars-mismatched_encoding-fixed.php ├── 4-htmlspecialchars-mismatched_encoding.php ├── 5-htmlspecialchars-encoding_parameter_value-fixed.php ├── 5-htmlspecialchars-encoding_parameter_value.php ├── 5-htmlspecialchars-encoding_parameter_value2-fixed.php ├── 5-htmlspecialchars-encoding_parameter_value2.php └── 6-jsonencode-unescaped_entities.php /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/README -------------------------------------------------------------------------------- /examples/1-htmlspecialchars-single_quoted_attribute-fixed1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/1-htmlspecialchars-single_quoted_attribute-fixed1.php -------------------------------------------------------------------------------- /examples/1-htmlspecialchars-single_quoted_attribute-fixed2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/1-htmlspecialchars-single_quoted_attribute-fixed2.php -------------------------------------------------------------------------------- /examples/1-htmlspecialchars-single_quoted_attribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/1-htmlspecialchars-single_quoted_attribute.php -------------------------------------------------------------------------------- /examples/2-htmlspecialchars-quoteless_attribute-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/2-htmlspecialchars-quoteless_attribute-fixed.php -------------------------------------------------------------------------------- /examples/2-htmlspecialchars-quoteless_attribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/2-htmlspecialchars-quoteless_attribute.php -------------------------------------------------------------------------------- /examples/3-htmlspecialchars-swallowed_quotes-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/3-htmlspecialchars-swallowed_quotes-fixed.php -------------------------------------------------------------------------------- /examples/3-htmlspecialchars-swallowed_quotes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/3-htmlspecialchars-swallowed_quotes.php -------------------------------------------------------------------------------- /examples/3-htmlspecialchars-swallowed_quotes2-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/3-htmlspecialchars-swallowed_quotes2-fixed.php -------------------------------------------------------------------------------- /examples/3-htmlspecialchars-swallowed_quotes2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/3-htmlspecialchars-swallowed_quotes2.php -------------------------------------------------------------------------------- /examples/4-htmlspecialchars-mismatched_encoding-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/4-htmlspecialchars-mismatched_encoding-fixed.php -------------------------------------------------------------------------------- /examples/4-htmlspecialchars-mismatched_encoding.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/4-htmlspecialchars-mismatched_encoding.php -------------------------------------------------------------------------------- /examples/5-htmlspecialchars-encoding_parameter_value-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/5-htmlspecialchars-encoding_parameter_value-fixed.php -------------------------------------------------------------------------------- /examples/5-htmlspecialchars-encoding_parameter_value.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/5-htmlspecialchars-encoding_parameter_value.php -------------------------------------------------------------------------------- /examples/5-htmlspecialchars-encoding_parameter_value2-fixed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/5-htmlspecialchars-encoding_parameter_value2-fixed.php -------------------------------------------------------------------------------- /examples/5-htmlspecialchars-encoding_parameter_value2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/5-htmlspecialchars-encoding_parameter_value2.php -------------------------------------------------------------------------------- /examples/6-jsonencode-unescaped_entities.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/padraic/xss/HEAD/examples/6-jsonencode-unescaped_entities.php --------------------------------------------------------------------------------