Commit bec622a2 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web: fixup: QUERY_STRING is not always defined

See bcd82831 (comment 216152)
parent 43b69d21
Pipeline #36849 failed with stage
in 0 seconds
...@@ -1506,7 +1506,7 @@ ...@@ -1506,7 +1506,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: (member is not None) and (request.other[\'method\'] == "GET") and (request.environ[\'QUERY_STRING\'] == "") and (lambda x: (x is not None) and (request.other[\'PUBLISHED\'] == x) and (x.getCachingPolicy() == "hateoas"))(object.getWebSectionValue())</string> </value> <value> <string>python: (member is not None) and (request.other[\'method\'] == "GET") and (request.environ.get(\'QUERY_STRING\', \'\') == "") and (lambda x: (x is not None) and (request.other[\'PUBLISHED\'] == x) and (x.getCachingPolicy() == "hateoas"))(object.getWebSectionValue())</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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