Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSecurityConfigOptions.php
| Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | return array( | ||||
| "this if you accidentally send a bunch of mail somewhere you ". | "this if you accidentally send a bunch of mail somewhere you ". | ||||
| "shouldn't have, to invalidate all old reply-to addresses.")), | "shouldn't have, to invalidate all old reply-to addresses.")), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'uri.allowed-protocols', | 'uri.allowed-protocols', | ||||
| 'set', | 'set', | ||||
| array( | array( | ||||
| 'http' => true, | 'http' => true, | ||||
| 'https' => true, | 'https' => true, | ||||
| 'mailto' => true, | |||||
| )) | )) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht("Determines which URI protocols are auto-linked.")) | pht("Determines which URI protocols are auto-linked.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "When users write comments which have URIs, they'll be ". | "When users write comments which have URIs, they'll be ". | ||||
| "automatically linked if the protocol appears in this set. This ". | "automatically linked if the protocol appears in this set. This ". | ||||
| "whitelist is primarily to prevent security issues like ". | "whitelist is primarily to prevent security issues like ". | ||||
| ▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines | |||||