on autorise l'acces au page via cli
darcs-hash:20060610214342-4ec08-3b43f07b2d38d5d7673bec76334efa25d0a281d4.gz
This commit is contained in:
parent
dff9c1fd19
commit
a4b7c234f0
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class AccessControlList:
|
|||
#### HACK SAUVAGE 3/4
|
||||
def _requete_interne(self, request):
|
||||
try:
|
||||
if is_crans(request.remote_addr) and (request.remote_addr != u'138.231.136.3' or is_crans(request.mpyreq.headers_in['X-Forwarded-For'].split(",")[-1].strip())):
|
||||
if str(request.__class__)=='MoinMoin.request.RequestCLI' or is_crans(request.remote_addr) and (request.remote_addr != u'138.231.136.3' or is_crans(request.mpyreq.headers_in['X-Forwarded-For'].split(",")[-1].strip())):
|
||||
return True
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue