Homec4science

Make PhutilGitURI and PhutilURI strict about leading whitespace

Authored by epriestley <git@epriestley.com> on Apr 29 2014, 19:57.

Description

Make PhutilGitURI and PhutilURI strict about leading whitespace

Summary: Fixes T4913. We silently accept git and normal URIs with leading spaces, but other systems will not accept these. Instead, fail to parse these so they don't get into the system if we're validating URIs.

Test Plan: {F148680}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4913

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

Details

Committed
epriestley <git@epriestley.com>Apr 29 2014, 19:57
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU5e2bf858ee86: Latest xhpast for Windows
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU1490f4fa10c8: Make PhutilGitURI and PhutilURI strict about leading whitespace (authored by epriestley <git@epriestley.com>).Apr 29 2014, 19:57