1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 00:24:13 +01:00

FIXME markers.

This commit is contained in:
Jean Paul Galea 2015-07-21 21:45:07 +00:00
parent da689f7de4
commit 424fbdf962

View File

@ -38,10 +38,21 @@ $ipaddr = $_SERVER['REMOTE_ADDR'];
$https = (array_key_exists('HTTPS', $_SERVER) === TRUE
&& strtolower($_SERVER['HTTPS']) !== 'off' ? TRUE : FALSE);
/**
* FIXME
*
* Refactor code which extracts the request arguments,
* pull it up here and avoid sprinlking the following in the "core":
*
* $_GET, $_POST, $_SERVER['QUERY_STRING'], getHttpVal()
*
* Avoid ambiguity with urldecode.
*/
$myLog = new Log('ykval-verify');
$myLog->addField('ip', $ipaddr);
// FIXME clean
// FIXME
$message = '';
if ($_POST)
{