Ticket #5260: broken_link_cookies.patch
File broken_link_cookies.patch, 897 bytes (added by , 17 years ago) |
---|
-
middleware/common.py
69 69 ua = request.META.get('HTTP_USER_AGENT', '<none>') 70 70 ip = request.META.get('REMOTE_ADDR', '<none>') 71 71 mail_managers("Broken %slink on %s" % ((is_internal and 'INTERNAL ' or ''), domain), 72 "Referrer: %s\nRequested URL: %s\nUser agent: %s\nIP address: %s\n " \73 % (referer, request.get_full_path(), ua, ip ))72 "Referrer: %s\nRequested URL: %s\nUser agent: %s\nIP address: %s\nCookies: %s" \ 73 % (referer, request.get_full_path(), ua, ip, request.COOKIES)) 74 74 return response 75 75 76 76 # Use ETags, if requested.