Aargh, ConfigParser smashes case, breaking security
authorPaul Crowley <paul@lshift.net>
Tue, 15 Dec 2009 14:28:45 +0000
changeset 236 38cea4b518c1
parent 234 69e0ee719a62
child 237 d30f3f312ece
Aargh, ConfigParser smashes case, breaking security
src/hg-ssh
--- a/src/hg-ssh	Wed Dec 02 18:44:34 2009 +0000
+++ b/src/hg-ssh	Tue Dec 15 14:28:45 2009 +0000
@@ -78,7 +78,7 @@
         % sys.argv)
 
 for k,v in config.getEnv():
-    os.environ[k] = v
+    os.environ[k.upper()] = v
 
 os.chdir(config.getReposPath())