diff options
Diffstat (limited to 'usr/local/www/edit.php')
-rw-r--r-- | usr/local/www/edit.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 2c780b6..817c00f 100644 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -56,6 +56,7 @@ if($_REQUEST['action']) { echo "|No file name specified.|"; } else { conf_mount_rw(); + $_REQUEST['data'] = str_replace("\r", "", $_REQUEST['data']); $ret = file_put_contents($_REQUEST['file'], $_REQUEST['data']); conf_mount_ro(); if($_REQUEST['file'] == "config.xml") |