Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Sanitize file name in WebODF plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 30, 2014
1 parent 2956a83 commit ff22784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/editor.webodf/frame.php
@@ -1,6 +1,6 @@
<?php
$AJXP_SECURE_TOKEN = $_GET["token"];
$AJXP_FILE_URL = $_GET["file"];
require_once('../../core/classes/class.AJXP_Utils.php');
$AJXP_FILE_URL = AJXP_Utils::securePath(AJXP_Utils::sanitize($_GET["file"], AJXP_SANITIZE_FILENAME));
?>
<html>
<head>
Expand Down

0 comments on commit ff22784

Please sign in to comment.