HomePhorge

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, 1:24 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPb5bed7b0fa87: Make omitting "value" from a transaction description an explicit error
Branches
Unknown
Tags
Unknown

Event Timeline