diff --git a/src/parser/PhutilURI.php b/src/parser/PhutilURI.php --- a/src/parser/PhutilURI.php +++ b/src/parser/PhutilURI.php @@ -48,11 +48,7 @@ // Reject ambiguous URIs outright. Different versions of different clients // parse these in different ways. See T12526 for discussion. if (preg_match('(^[^/:]*://[^/]*[#?].*:)', $uri)) { - throw new Exception( - pht( - 'Rejecting ambiguous URI "%s". This URI is not formatted or '. - 'encoded properly.', - $uri)); + return ''; } $matches = null;