send the whole environment
This commit is contained in:
@@ -378,10 +378,7 @@ def makedirs_rights(path):
|
||||
|
||||
def notify(msg):
|
||||
if 'notifier' in app.config:
|
||||
msg['address'] = "%s:%s"%(
|
||||
request.remote_addr,
|
||||
request.environ['REMOTE_ADDR']
|
||||
)
|
||||
msg['environment'] = request.environ
|
||||
app.config['notifier'].notify(msg)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user