Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15434120
D8963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8963.diff
View Options
diff --git a/conf/default.conf.php b/conf/default.conf.php
--- a/conf/default.conf.php
+++ b/conf/default.conf.php
@@ -630,14 +630,6 @@
// be enabled in production.
'phabricator.developer-mode' => false,
- // When users write comments which have URIs, they'll be automatically linked
- // if the protocol appears in this set. This whitelist is primarily to prevent
- // security issues like javascript:// URIs.
- 'uri.allowed-protocols' => array(
- 'http' => true,
- 'https' => true,
- ),
-
// Should Phabricator show beta applications on the homepage
'phabricator.show-beta-applications' => false,
diff --git a/src/applications/config/option/PhabricatorSecurityConfigOptions.php b/src/applications/config/option/PhabricatorSecurityConfigOptions.php
--- a/src/applications/config/option/PhabricatorSecurityConfigOptions.php
+++ b/src/applications/config/option/PhabricatorSecurityConfigOptions.php
@@ -119,6 +119,7 @@
array(
'http' => true,
'https' => true,
+ 'mailto' => true,
))
->setSummary(
pht("Determines which URI protocols are auto-linked."))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 26, 2:04 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707060
Default Alt Text
D8963.diff (1 KB)
Attached To
Mode
D8963: Support mailto in Phabricator config defaults
Attached
Detach File
Event Timeline
Log In to Comment