Commit 5f46d31b authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

Do not use Host header.

Token server can be totally different then resource server.
parent e6afb686
......@@ -51,9 +51,8 @@
<item>
<key> <string>_body</string> </key>
<value> <string>return context.Base_getHMAC(key,\n
"""%s\\n%s\\n%s\\n%s\\n%s""" % (\n
"""%s\\n%s\\n%s\\n%s""" % (\n
context.REQUEST.getHeader(\'User-Agent\'),\n
context.REQUEST.getHeader(\'Host\'),\n
context.REQUEST.get(\'REMOTE_ADDR\'),\n
context.getCreationDate().timeTime(),\n
fuzzy)\n
......
3
\ No newline at end of file
4
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment