Ignore:
Timestamp:
Feb 12, 2013, 11:19:57 AM (11 years ago)
Author:
plg
Message:

merge r20712 from branch 2.4 to trunk

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/LocalFilesEditor/admin.php

    r19703 r20714  
    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.