mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-04-12 02:02:25 +02:00
FIXME markers.
This commit is contained in:
parent
da689f7de4
commit
424fbdf962
@ -38,10 +38,21 @@ $ipaddr = $_SERVER['REMOTE_ADDR'];
|
|||||||
$https = (array_key_exists('HTTPS', $_SERVER) === TRUE
|
$https = (array_key_exists('HTTPS', $_SERVER) === TRUE
|
||||||
&& strtolower($_SERVER['HTTPS']) !== 'off' ? TRUE : FALSE);
|
&& 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 = new Log('ykval-verify');
|
||||||
$myLog->addField('ip', $ipaddr);
|
$myLog->addField('ip', $ipaddr);
|
||||||
|
|
||||||
// FIXME clean
|
// FIXME
|
||||||
$message = '';
|
$message = '';
|
||||||
if ($_POST)
|
if ($_POST)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user