[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/safehtml-1.3.7/tests/ -> testcase_wsp1.php (source)

   1  <?php
   2  /*
   3  This file is for tests - which characters treats by clients as whitespaces between tags.
   4  
   5  Maximal set now is:
   6  00
   7  08-0D
   8  20
   9  
  10  Tested sets are:
  11  IE6
  12  00
  13  09-0D
  14  20
  15  
  16  MZ
  17  08-0A
  18  0D
  19  20
  20  
  21  O7.23
  22  09-0D
  23  20
  24  */
  25  
  26  ?>
  27  
  28  &lt;a href="test"<?php
  29  echo "\x0B";
  30  ?>
  31  
  32  onmouseover="alert(1)"&gt;12&lt;/a&gt;
  33  
  34  <br/>
  35  
  36  <a href = "test"<?php echo "\x00"; ?>onmouseover="alert(1)">12</a>0
  37  
  38  <br/>
  39  
  40  <a href = "test"<?php echo "\x01"; ?>onmouseover="alert(1)">12</a>1
  41  
  42  <br/>
  43  
  44  <a href = "test"<?php echo "\x02"; ?>onmouseover="alert(1)">12</a>2
  45  
  46  <br/>
  47  
  48  <a href = "test"<?php echo "\x03"; ?>onmouseover="alert(1)">12</a>3
  49  
  50  <br/>
  51  
  52  <a href = "test"<?php echo "\x04"; ?>onmouseover="alert(1)">12</a>4
  53  
  54  <br/>
  55  
  56  <a href = "test"<?php echo "\x05"; ?>onmouseover="alert(1)">12</a>5
  57  
  58  <br/>
  59  
  60  <a href = "test"<?php echo "\x06"; ?>onmouseover="alert(1)">12</a>6
  61  
  62  <br/>
  63  
  64  <a href = "test"<?php echo "\x07"; ?>onmouseover="alert(1)">12</a>7
  65  
  66  <br/>
  67  
  68  <a href = "test"<?php echo "\x08"; ?>onmouseover="alert(1)">12</a>8
  69  
  70  <br/>
  71  
  72  <a href = "test"<?php echo "\x09"; ?>onmouseover="alert(1)">12</a>9
  73  
  74  <br/>
  75  
  76  <a href = "test"<?php echo "\x0A"; ?>onmouseover="alert(1)">12</a>a
  77  
  78  <br/>
  79  
  80  <a href = "test"<?php echo "\x0B"; ?>onmouseover="alert(1)">12</a>b
  81  
  82  <br/>
  83  
  84  <a href = "test"<?php echo "\x0C"; ?>onmouseover="alert(1)">12</a>c
  85  
  86  <br/>
  87  
  88  <a href = "test"<?php echo "\x0D"; ?>onmouseover="alert(1)">12</a>d
  89  
  90  <br/>
  91  
  92  <a href = "test"<?php echo "\x0E"; ?>onmouseover="alert(1)">12</a>e
  93  
  94  <br/>
  95  
  96  <a href = "test"<?php echo "\x0F"; ?>onmouseover="alert(1)">12</a>f
  97  
  98  <br/>
  99  
 100  <a href = "test"<?php echo "\x10"; ?>onmouseover="alert(1)">12</a>0
 101  
 102  <br/>
 103  
 104  <a href = "test"<?php echo "\x11"; ?>onmouseover="alert(1)">12</a>1
 105  
 106  <br/>
 107  
 108  <a href = "test"<?php echo "\x12"; ?>onmouseover="alert(1)">12</a>2
 109  
 110  <br/>
 111  
 112  <a href = "test"<?php echo "\x13"; ?>onmouseover="alert(1)">12</a>3
 113  
 114  <br/>
 115  
 116  <a href = "test"<?php echo "\x14"; ?>onmouseover="alert(1)">12</a>4
 117  
 118  <br/>
 119  
 120  <a href = "test"<?php echo "\x15"; ?>onmouseover="alert(1)">12</a>5
 121  
 122  <br/>
 123  
 124  <a href = "test"<?php echo "\x16"; ?>onmouseover="alert(1)">12</a>6
 125  
 126  <br/>
 127  
 128  <a href = "test"<?php echo "\x17"; ?>onmouseover="alert(1)">12</a>7
 129  
 130  <br/>
 131  
 132  <a href = "test"<?php echo "\x18"; ?>onmouseover="alert(1)">12</a>8
 133  
 134  <br/>
 135  
 136  <a href = "test"<?php echo "\x19"; ?>onmouseover="alert(1)">12</a>9
 137  
 138  <br/>
 139  
 140  <a href = "test"<?php echo "\x1A"; ?>onmouseover="alert(1)">12</a>a
 141  
 142  <br/>
 143  
 144  <a href = "test"<?php echo "\x1B"; ?>onmouseover="alert(1)">12</a>b
 145  
 146  <br/>
 147  
 148  <a href = "test"<?php echo "\x1C"; ?>onmouseover="alert(1)">12</a>c
 149  
 150  <br/>
 151  
 152  <a href = "test"<?php echo "\x1D"; ?>onmouseover="alert(1)">12</a>d
 153  
 154  <br/>
 155  
 156  <a href = "test"<?php echo "\x1E"; ?>onmouseover="alert(1)">12</a>e
 157  
 158  <br/>
 159  
 160  <a href = "test"<?php echo "\x1F"; ?>onmouseover="alert(1)">12</a>f
 161  
 162  <br/>
 163  
 164  <a href = "test"<?php echo "\x20"; ?>onmouseover="alert(1)">12</a>0
 165  
 166  <br/>


Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7