All pastes #1558511 Raw Edit

roh

public diff v1 · immutable
#1558511 ·published 2009-09-08 15:44 UTC
rendered paste body
Index: 0.10/httpauth/filter.py===================================================================--- 0.10/httpauth/filter.py	(revision 4892)+++ 0.10/httpauth/filter.py	(working copy)@@ -31,6 +31,8 @@                 break         if req.args.get('format') in self.formats:             check = True+        if req.args.get('user') in ['anonymous']:+            check = False         if check and not self._check_password(req):             self.log.info('HTTPAuthFilter: No/bad authentication data given, returing 403')             return self