Changeset 38785 for trunk/tests/phpunit/tests/kses.php
- Timestamp:
- 10/13/2016 10:24:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/kses.php
r38511 r38785 196 196 switch ( $attack->name ) { 197 197 case 'XSS Locator': 198 $this->assertEquals('\';alert(String.fromCharCode(88,83,83))//\\\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\\";alert(String.fromCharCode(88,83,83))//-->">\'>alert(String.fromCharCode(88,83,83))= ', $result);198 $this->assertEquals('\';alert(String.fromCharCode(88,83,83))//\\\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\\";alert(String.fromCharCode(88,83,83))//-->">\'>alert(String.fromCharCode(88,83,83))=&{}', $result); 199 199 break; 200 200 case 'XSS Quick Test': 201 $this->assertEquals('\'\';!--"= ', $result);201 $this->assertEquals('\'\';!--"=&{()}', $result); 202 202 break; 203 203 case 'SCRIPT w/Alert()':
Note: See TracChangeset
for help on using the changeset viewer.