Homec4science

Pass raw QUERY_STRING to parser

Authored by Eric Stern <eric@ericstern.com> on Aug 5 2013, 03:07.

Description

Pass raw QUERY_STRING to parser

Summary:
Fixes issue where double-encoding of $_SERVER occurs when php.ini forces all input to be sanitized

Ex:
filter.default = full_special_chars
filter.default_flags = 36

Fix line length

Test Plan: Encountered issue on clean install when registring new user (phusr not defined for email verification). php.ini on that server contains above filter settings. nginx/php-fpm with recommended settings for that server block from setup guide.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

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

Details

Committed
epriestley <git@epriestley.com>Aug 5 2013, 03:07
Pushed
aubortJan 31 2017, 17:16
Parents
rPH61f0671e8730: Fix PhabricatorBot macro cacheing
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH44a883f941e0: Pass raw QUERY_STRING to parser (authored by Eric Stern <eric@ericstern.com>).Aug 5 2013, 03:07