Show
Ignore:
Timestamp:
10/04/2007 03:32:31 PM (14 months ago)
Author:
Shadowhand
Message:

Updated Input, replacing xss_clean() with a function by Christian Stocker. This function is blazing fast and does most of the right stuff.

Other changes are spit shine.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/View.php

    r644 r648  
    4242        public function __construct($name, $data = NULL) 
    4343        { 
    44                 if (preg_match('/\.(gif|jpg|png|swf|js|css)$/Di', $name, $type)) 
     44                if (preg_match('/\.([g|t]if|jpe?g|png|swf|js|css)$/Di', $name, $type)) 
    4545                { 
    4646                        $type = $type[1];