Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/test_javascript_string_escaping.php.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Forms generation and validation  >  test/expect/test_javascript_string_escaping.php.txt  >  Download  
File: test/expect/test_javascript_string_escaping.php.txt
Role: Auxiliary data
Content type: text/plain
Description: Expected ouput of the test to verify the escaping of Javascript strings.
Class: Forms generation and validation
HTML forms generation and validation.
Author: By
Last change: Fixed the path.
Date: 2008-02-04 21:57
Size: 214 bytes
 

Contents

Class file image Download
''
'\n'
'\r'
'\t'
unescape('%3c')
'%'
'\''
'\\'
unescape('%a0')
'\n'+unescape('%3c')
unescape('%3c%25')
unescape('%3c\'')
unescape('%3c\\')
unescape('%3c\n')
unescape('%3c\r')
unescape('%3c\t')
' '+unescape('%3c')