public
Description: A lightweight MVC framework on top of Grok-PHP
Homepage: http://chippino.googlecode.com
Clone URL: git://github.com/Jakobo/chippino.git
moved xss ro protected space, updated sanitizer call to reference 
protected files

Signed-off-by: Jakob Heuser <jakob@felocity.org>
Jakobo (author)
Fri Jul 04 09:38:34 -0700 2008
commit  d3a79fdb286807a98533ba4eb4e7eff7ca9cfe7f
tree    7c6b63bb63bc9b7e97e345e1be19a82d040b9f0a
parent  cb83fceff9a2a9c0fe1c1545735896384ea84800
...
35
36
37
38
 
39
40
41
...
55
56
57
58
 
59
60
61
...
35
36
37
 
38
39
40
41
...
55
56
57
 
58
59
60
61
0
@@ -35,7 +35,7 @@ switch ($as) {
0
     $value = preg_replace('/\0+/', '', $value);
0
     $value = preg_replace('/(\\\\0)+/', '', $value);
0
     
0
- return chip('Chippino/Util/Request/XSS')->with(array(
0
+ return chip('Chippino/Util/Request/_XSS')->with(array(
0
             'value' => $value,
0
         ));
0
     
0
@@ -55,7 +55,7 @@ switch ($as) {
0
         
0
         // capture the interger part
0
         // see getAsInt preg
0
- $value = preg_replace('/([0-9]+?)(.*)$/iu', '\1', $value);
0
+ $value = preg_replace('/([0-9]+)(.*)$/iu', '\1', $value);
0
         $value = preg_replace('/[^0-9]/iu', '', $value);
0
         
0
         // we can use the significant bit calc here, but for now, just return the

Comments

    No one has commented yet.