summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/exec.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-09-14 15:00:11 -0400
committerjim-p <jimp@pfsense.org>2015-09-14 15:00:23 -0400
commit2ccb418a2eec36e9d31faf495414ebeb01bf828a (patch)
tree806bb8c2046cd98e78e350a2ac3d26b324c97e75 /src/usr/local/www/exec.php
parent289b91c8fb60413bdeee4ec1c9b1c56afdbcd970 (diff)
downloadpfsense-2ccb418a2eec36e9d31faf495414ebeb01bf828a.zip
pfsense-2ccb418a2eec36e9d31faf495414ebeb01bf828a.tar.gz
Allow pre-filling (but no automatic action) of the download filename on exec.php.
Diffstat (limited to 'src/usr/local/www/exec.php')
-rw-r--r--src/usr/local/www/exec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/exec.php b/src/usr/local/www/exec.php
index a056dc8..de5decb 100644
--- a/src/usr/local/www/exec.php
+++ b/src/usr/local/www/exec.php
@@ -255,7 +255,7 @@ if (!isBlank($_POST['txtCommand'])):?>
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Download file')?></h2></div>
<div class="panel-body">
- <input name="dlPath" type="text" id="dlPath" placeholder="File to download" class="col-sm-4"/>
+ <input name="dlPath" type="text" id="dlPath" placeholder="File to download" class="col-sm-4" value="<?php echo htmlspecialchars($_GET['dlPath']) ?>"/>
<br /><br />
<input name="submit" type="submit" class="btn btn-default btn-sm" id="download" value="<?=gettext("Download"); ?>" />
</div>
OpenPOWER on IntegriCloud