Gitweb links:
...log
http://git.netsurf-browser.org/netsurf-test.git/shortlog/83483d847db9992fc26507a15c523805b7fb8a38
...commit
http://git.netsurf-browser.org/netsurf-test.git/commit/83483d847db9992fc26507a15c523805b7fb8a38
...tree
http://git.netsurf-browser.org/netsurf-test.git/tree/83483d847db9992fc26507a15c523805b7fb8a38
The branch, master has been updated
via 83483d847db9992fc26507a15c523805b7fb8a38 (commit)
from 1e32c8cd3db78d2494dc30b08ac2fe23a2247f6c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=83483d847db9992fc26507a15c523805b7fb8a38
commit 83483d847db9992fc26507a15c523805b7fb8a38
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
Realm list deref
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
-----------------------------------------------------------------------
Summary of changes:
cgi-bin/auth.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
NetSurf test cases
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org