##// END OF EJS Templates
fixed issue #181, and small fix in gitmiddleware
marcink -
r1293:ae5b07e7 beta
parent child Browse files
Show More
@@ -53,7 +53,7 b' fixes'
53 53 - fixed #126 Deleting repository on Windows, rename used incompatible chars.
54 54 - #150 fixes for errors on repositories mapped in db but corrupted in
55 55 filesystem
56
56 - fixed problem with ascendant characters in realm #181
57 57
58 58 1.1.8 (**2011-04-12**)
59 59 ======================
@@ -98,7 +98,7 b' class SimpleGit(object):'
98 98 #authenticate this git request using
99 99 self.authenticate = AuthBasicAuthenticator('', authfunc)
100 100 self.ipaddr = '0.0.0.0'
101 self.repository = None
101 self.repo_name = None
102 102 self.username = None
103 103 self.action = None
104 104
@@ -147,8 +147,8 b' class SimpleGit(object):'
147 147 #==============================================================
148 148
149 149 if not REMOTE_USER(environ):
150 self.authenticate.realm = str(
151 self.config['rhodecode_realm'])
150 self.authenticate.realm = self.config['rhodecode_realm'].\
151 encode('utf8', 'replace')
152 152 result = self.authenticate(environ)
153 153 if isinstance(result, str):
154 154 AUTH_TYPE.update(environ, 'basic')
@@ -112,8 +112,8 b' class SimpleHg(object):'
112 112 #==============================================================
113 113
114 114 if not REMOTE_USER(environ):
115 self.authenticate.realm = str(
116 self.config['rhodecode_realm'])
115 self.authenticate.realm = self.config['rhodecode_realm'].\
116 encode('utf8', 'replace')
117 117 result = self.authenticate(environ)
118 118 if isinstance(result, str):
119 119 AUTH_TYPE.update(environ, 'basic')
General Comments 0
You need to be logged in to leave comments. Login now