diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-11-04 11:36:00 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-11-04 11:36:00 +0000 |
commit | 83483d847db9992fc26507a15c523805b7fb8a38 (patch) | |
tree | 48914b79d424d99955761df6e733c671c140c52a | |
parent | 1e32c8cd3db78d2494dc30b08ac2fe23a2247f6c (diff) | |
download | netsurf-test-83483d847db9992fc26507a15c523805b7fb8a38.tar.gz netsurf-test-83483d847db9992fc26507a15c523805b7fb8a38.tar.bz2 |
Realm list deref
-rwxr-xr-x | cgi-bin/auth.cgi | 2 |
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 |