summaryrefslogtreecommitdiff
path: root/cgi-bin/auth.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/auth.cgi')
-rwxr-xr-xcgi-bin/auth.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/auth.cgi b/cgi-bin/auth.cgi
index 7f7aa71..63497d2 100755
--- a/cgi-bin/auth.cgi
+++ b/cgi-bin/auth.cgi
@@ -13,7 +13,7 @@ query = os.getenv("QUERY_STRING") or "user=foo&pass=bar&realm=NetSurf+Authentica
query = cgi.parse_qs(query)
username = query.get("user", ["foo"])[0]
password = query.get("pass", query.get("password", ["bar"]))[0]
-realm = query.get("realm", ["NetSurf Authentication Test"])
+realm = query.get("realm", ["NetSurf Authentication Test"])[0]
gotuser = None
gotpass = None