diff --git a/pool/page_settings.php b/pool/page_settings.php index da99a97b..852e3f1a 100644 --- a/pool/page_settings.php +++ b/pool/page_settings.php @@ -18,7 +18,7 @@ function settings($data, $user, $email, $addr, $err) $pg .= ''; $pg .= 'EMail:'; $pg .= ''; - $pg .= ""; + $pg .= ""; $pg .= ''; $pg .= ''; $pg .= 'Password:'; @@ -41,7 +41,7 @@ function settings($data, $user, $email, $addr, $err) $pg .= ''; $pg .= 'BTC Address:'; $pg .= ''; - $pg .= ""; + $pg .= ""; $pg .= ''; $pg .= ''; $pg .= 'Password:'; diff --git a/pool/page_workmgt.php b/pool/page_workmgt.php index df6e8cfe..4cea1569 100644 --- a/pool/page_workmgt.php +++ b/pool/page_workmgt.php @@ -30,7 +30,7 @@ function workmgtuser($data, $user, $err) $pg .= ""; $wn = htmlspecialchars($ans['workername:'.$i]); - $wnv = sq($ans['workername:'.$i]); + $wnv = urlencode($ans['workername:'.$i]); $pg .= ''; $pg .= ""; $pg .= $wn.''; @@ -67,7 +67,7 @@ function doworkmgt($data, $user) $settings = array(); for ($i = 0; $i < $count; $i++) { - $wn = getparam('workername:'.$i, false); + $wn = urldecode(getparam('workername:'.$i, false)); $md = getparam('difficultydefault:'.$i, false); if (!nuem($wn) && !nuem($md)) {