Ignore:
Timestamp:
02/12/13 11:01:46 (6 years ago)
Author:
plg
Message:

bug 2844: increase security on LocalFiles Editor, filter on files to edit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/plugins/LocalFilesEditor/admin.php

    r12922 r20712  
    5656if (isset($_POST['restore'])) 
    5757{ 
    58   $edited_file = $_POST['edited_file']; 
    5958  $content_file = file_get_contents(get_bak_file($edited_file)); 
    6059  array_push($page['infos'], 
     
    7473  else 
    7574  { 
    76     $edited_file = $_POST['edited_file']; 
    7775    $content_file = stripslashes($_POST['text']); 
    7876    if (get_extension($edited_file) == 'php') 
Note: See TracChangeset for help on using the changeset viewer.