1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-21 04:01:30 +01:00
phorge-phorge/src/applications/conduit
epriestley 6617005365 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
2020-04-27 13:28:47 -07:00
..
application Allow Conduit method call logs to be exported with the standard export pipeline 2019-01-18 20:09:57 -08:00
call Conduit accept int/bool parameters as strings 2016-10-14 14:45:57 +00:00
controller In Conduit responses, assert that Phabricator supports a "gzip" capability 2020-04-14 16:51:03 -07:00
data Make DiffusionCommitSearch accept modern (string) constants 2018-09-10 16:25:42 -07:00
garbagecollector Remove all references to the Conduit ConnectionLog 2015-12-14 15:25:11 -08:00
interface Formalize custom Conduit fields on objects 2015-12-14 11:54:13 -08:00
management Provide a "--local" flag to "bin/conduit call" to force in-process execution 2020-04-14 13:24:26 -07:00
method Modularize user activity log message types 2019-07-24 07:10:18 -07:00
parametertype Make Conduit "www-form-urlencoded" parsing of "true" and "false" case-insensitive 2020-04-27 13:28:47 -07:00
protocol Conduit accept int/bool parameters as strings 2016-10-14 14:45:57 +00:00
query Fix a cursor paging issue in Conduit call logs 2019-09-24 08:36:49 -07:00
settings Add icons to Settings 2019-01-23 13:41:41 -08:00
ssh Use phutil_microseconds_since(...) to simplify some timing arithmetic 2018-11-08 16:46:32 -08:00
storage Use futures to improve clustered repository main page performance 2016-12-08 07:26:32 -08:00