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