diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 6a4197b9f6..095c29713a 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -131,7 +131,10 @@ pre { --> -
+ +=$Title ?> " . $ulmsg . "
\n"; ?> @@ -139,7 +142,7 @@ pre {
- Save/Load from path: |
+ Save/Load from path: |
Rows: |
Cols: |
|
@@ -157,3 +160,7 @@ pre {
+
+
\ No newline at end of file
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index 8f47fc5974..03a9b2b609 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -5,9 +5,9 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
$fd = fopen($_POST['dlPath'], "rb");
header("Content-Type: application/octet-stream");
header("Content-Length: " . filesize($_POST['dlPath']));
- header("Content-Disposition: attachment; filename=\"" .
+ header("Content-Disposition: attachment; filename=\"" .
trim(htmlentities(basename($_POST['dlPath']))) . "\"");
-
+
fpassthru($fd);
exit;
} else if (($_POST['submit'] == "Upload") && is_uploaded_file($_FILES['ulfile']['tmp_name'])) {
@@ -24,7 +24,7 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
/*
Exec+ v1.02-000 - Copyright 2001-2003, All rights reserved
Created by technologEase (http://www.technologEase.com).
-
+
(modified for m0n0wall by Manuel Kasper
|