All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit bd821b2c authored by Leigh B. Stoller's avatar Leigh B. Stoller

Squeeze out the spaces in the privkey; I guess people didn't realize

its like a credit card number; you are not supposed to actually type
the spaces. Oh well.
parent 04932896
......@@ -39,7 +39,7 @@ if ((!isset($cdkey) || !strcmp($cdkey, "")) ||
if (!ereg("[0-9a-zA-Z]+", $cdkey) ||
!ereg("[0-9a-zA-Z]+", $privkey) ||
!ereg("[0-9a-zA-Z ]+", $privkey) ||
!ereg("[0-9\.]+", $IP)) {
......@@ -57,8 +57,10 @@ if (! mysql_num_rows($query_result)) {
$row = mysql_fetch_array($query_result);
# Grab the privkey record.
# Grab the privkey record. First squeeze out any spaces.
$privkey = str_replace(" ", "", $privkey);
$query_result =
DBQueryFatal("select * from widearea_privkeys where privkey='$privkey'");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment