diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 16:23:03 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 16:23:03 -0500 |
commit | 1a8b65541c3a3185792f41ed293aaf763a4caf01 (patch) | |
tree | a943e1030d753f47c405b341236d14247f65aec9 /src/usr/local/www/status_logs_filter_dynamic.php | |
parent | 7f4268b62ddfb259e437dd0cb85fa41f5e98dff0 (diff) | |
download | pfsense-1a8b65541c3a3185792f41ed293aaf763a4caf01.zip pfsense-1a8b65541c3a3185792f41ed293aaf763a4caf01.tar.gz |
GET/POST conversion for status*
Diffstat (limited to 'src/usr/local/www/status_logs_filter_dynamic.php')
-rw-r--r-- | src/usr/local/www/status_logs_filter_dynamic.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/status_logs_filter_dynamic.php b/src/usr/local/www/status_logs_filter_dynamic.php index 7d8a85d..78ce76f 100644 --- a/src/usr/local/www/status_logs_filter_dynamic.php +++ b/src/usr/local/www/status_logs_filter_dynamic.php @@ -48,13 +48,13 @@ $allowed_logs = array( "shortcut" => "filter"), ); -// The logs to display are specified in a GET argument. Default to 'system' logs -if (!$_GET['logfile']) { +// The logs to display are specified in a REQUEST argument. Default to 'system' logs +if (!$_REQUEST['logfile']) { $logfile = 'filter'; $view = 'normal'; } else { - $logfile = $_GET['logfile']; - $view = $_GET['view']; + $logfile = $_REQUEST['logfile']; + $view = $_REQUEST['view']; if (!array_key_exists($logfile, $allowed_logs)) { /* Do not let someone attempt to load an unauthorized log. */ $logfile = 'filter'; @@ -204,7 +204,7 @@ if (typeof getURL == 'undefined') { contentType : http_request.getResponseHeader("Content-Type") } ); } }; - http_request.open('GET', url, true); + http_request.open('REQUEST', url, true); http_request.send(null); }; } |