1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00

Allow some protocols

Summary: I heard this HTTP thing is pretty good.

Test Plan: @starruler did things which confirmed this is less bad than D4611.

Reviewers: starruler

Reviewed By: starruler

CC: aran

Differential Revision: https://secure.phabricator.com/D4612
This commit is contained in:
epriestley 2013-01-23 18:44:19 -08:00
parent 62a27c1caa
commit 3440892d7b

View file

@ -108,7 +108,13 @@ final class PhabricatorSecurityConfigOptions
"unique to your install. In particular, you will want to do ".
"this if you accidentally send a bunch of mail somewhere you ".
"shouldn't have, to invalidate all old reply-to addresses.")),
$this->newOption('uri.allowed-protocols', 'set', array())
$this->newOption(
'uri.allowed-protocols',
'set',
array(
'http' => true,
'https' => true,
))
->setSummary(
pht("Determines which URI protocols are auto-linked."))
->setDescription(