lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

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 @@ ...@@ -51,9 +51,8 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>return context.Base_getHMAC(key,\n <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(\'User-Agent\'),\n
context.REQUEST.getHeader(\'Host\'),\n
context.REQUEST.get(\'REMOTE_ADDR\'),\n context.REQUEST.get(\'REMOTE_ADDR\'),\n
context.getCreationDate().timeTime(),\n context.getCreationDate().timeTime(),\n
fuzzy)\n fuzzy)\n
......
3 4
\ No newline at end of file \ 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