Dotclear


Ignore:
Timestamp:
06/28/15 11:02:35 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

filter $_GETv? for load_plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/load_plugin_file.php

    r3020 r3022  
    4848 
    4949// $_GET['v'] : version in url to bypass cache in case of dotclear upgrade or in dev mode 
    50 // Only $_GET['pf'] and $_GET['v'] are allowed in URL 
    51 if (count($_GET) > 2) 
     50// but don't care of value 
     51if (isset($_GET['v'])) 
     52{ 
     53    unset($_GET['v']); 
     54} 
     55 
     56// Only $_GET['pf'] is allowed in URL 
     57if (count($_GET) > 1) 
    5258{ 
    5359    header('Content-Type: text/plain'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map