diff --git a/wiki/request.py b/wiki/request.py index 9840ea12..0c44050e 100644 --- a/wiki/request.py +++ b/wiki/request.py @@ -174,7 +174,10 @@ class RequestBase(object): """ check if someone requesting too much from us """ validuser = self.user.valid current_id = validuser and self.user.name or self.remote_addr - if not validuser and current_id.startswith('127.'): # localnet + + #### DEBUT HACK : Excemption pour nos proxies + if not validuser and (current_id.startswith('127.') or current_id in self.cfg.ip_url_replace.keys()): # localnet + #### FIN DU HACK return False current_action = self.form.get('action', ['show'])[0]