diff options
author | thomascube <thomas@roundcube.net> | 2007-11-25 17:34:19 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-11-25 17:34:19 +0000 |
commit | c5799618997716288169b6fbcd1251f76788cd49 (patch) | |
tree | 79e74cc848f8b6322ff223b77e300bd4e2a854b4 /program/include/rcmail_template.inc | |
parent | 76b6bff70b3f7d8ff7eed261f7f9896cccae21f9 (diff) |
Fixed some potential security risks + updatedd changelog
Diffstat (limited to 'program/include/rcmail_template.inc')
-rw-r--r-- | program/include/rcmail_template.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail_template.inc b/program/include/rcmail_template.inc index 15752f8bc..558bd4bf6 100644 --- a/program/include/rcmail_template.inc +++ b/program/include/rcmail_template.inc @@ -831,12 +831,12 @@ function rcmail_login_form($attrib) } } - $fields['host'] = isset($select_host) ? $select_host->show($_POST['_host']) : null; + $fields['host'] = isset($select_host) ? $select_host->show(get_input_value('_host', RCUBE_INPUT_POST)) : null; } else if (!strlen($CONFIG['default_host'])) { $input_host = new textfield(array('name' => '_host', 'id' => 'rcmloginhost', 'size' => 30)); - $fields['host'] = $input_host->show($_POST['_host']); + $fields['host'] = $input_host->show(get_input_value('_host', RCUBE_INPUT_POST)); } $form_name = strlen($attrib['form']) ? $attrib['form'] : 'form'; |