Homestyx hydra
Diffusion hydra 661700536579

Make Conduit "www-form-urlencoded" parsing of "true" and "false" case…

Description

Make Conduit "www-form-urlencoded" parsing of "true" and "false" case-insensitive

Summary:
See PHI1710. Python encodes True as True (with an uppercase "T") when building URLs.

We currently do not accept this as a "truthy" value, but it's reasonable and unambiguous. Accept "True", "TRUE", "tRuE", etc.

Test Plan: Made a cURL conduit call with "True" and "tRuE". Before patch: failure to decoded booleans; after patch: successful interpretation of "true" variations.

Differential Revision: https://secure.phabricator.com/D21177

Details

Provenance
epriestleyAuthored on Apr 27 2020, 4:24 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:b5bed7b0fa87: Make omitting "value" from a transaction description an explicit error
Branches
Unknown
Tags
Unknown

Event Timeline