Changeset 2574

Show
Ignore:
Timestamp:
04/25/2008 11:14:12 AM (6 months ago)
Author:
Geert
Message:

Follow-up to r2567. Removing html::specialchars() calls I added in r2548 and r2549. Those are now superfluous. Router takes care of it already.

Location:
trunk/system
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/form.php

    r2549 r2574  
    4343 
    4444                // Form opening tag 
    45                 $form = '<form action="'.html::specialchars($action, FALSE).'"'.form::attributes($attr).'>'."\n"; 
     45                $form = '<form action="'.$action.'"'.form::attributes($attr).'>'."\n"; 
    4646 
    4747                // Add hidden fields immediate after opening tag 
  • trunk/system/libraries/Pagination.php

    r2549 r2574  
    126126                } 
    127127 
    128                 // Prevent XSS 
    129                 $this->url = html::specialchars($this->url); 
    130  
    131128                // Core pagination values 
    132129                $this->total_items        = (int) max(0, $this->total_items); 
  • trunk/system/libraries/Router.php

    r2572 r2574  
    125125                } 
    126126 
    127                 //Last chance to set routing before a 404 is triggered 
     127                // Last chance to set routing before a 404 is triggered 
    128128                Event::run('system.post_routing'); 
    129                  
     129 
    130130                if (empty(self::$controller)) 
    131131                { 
  • trunk/system/libraries/View.php

    r2556 r2574  
    173173        { 
    174174                if (isset($this->data[$key])) 
    175                 { 
    176175                        return $this->data[$key]; 
    177                 } 
    178                 if(isset($this->$key)) 
    179                 { 
     176 
     177                if (isset($this->$key)) 
    180178                        return $this->$key; 
    181                 }                
    182179        } 
    183180