##// END OF EJS Templates
hgweb: allow static content when deny_read denies access
Mark Edgington -
r7562:b663b556 default
parent child Browse files
Show More
@@ -165,7 +165,8 b' class hgweb(object):'
165 ctype = tmpl('mimetype', encoding=self.encoding)
165 ctype = tmpl('mimetype', encoding=self.encoding)
166 ctype = templater.stringify(ctype)
166 ctype = templater.stringify(ctype)
167
167
168 # check allow_read / deny_read config options
168 # check read permissions non-static content
169 if cmd != 'static':
169 self.check_perm(req, None)
170 self.check_perm(req, None)
170
171
171 if cmd == '':
172 if cmd == '':
General Comments 0
You need to be logged in to leave comments. Login now