fce6a7089cf36d08b90903c46348a641afee5d5c
Summary: We sometimes call PhabricatorEnv::getProductionURI($file->getBestURI()) or similar, but this may currently cause us to construct a URI like this: http://domain.com/http://cdn-domain.com/file/data/xxx/yyy/name.jpg Instead, if the provided URI has a domain already, leave it unmodified. Test Plan: Attached a file to a task; got an email with a valid URI instead of an invalid URI. Reviewers: btrahan Reviewed By: btrahan CC: Makinde, aran, epriestley Differential Revision: https://secure.phabricator.com/D1622
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted. http://www.apache.org/licenses/LICENSE-2.0
Description
Languages
PHP
93.4%
JavaScript
4.1%
CSS
2.4%