Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15415740
D19330.id46241.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
D19330.id46241.diff
View Options
diff --git a/src/applications/config/option/PhabricatorCoreConfigOptions.php b/src/applications/config/option/PhabricatorCoreConfigOptions.php
--- a/src/applications/config/option/PhabricatorCoreConfigOptions.php
+++ b/src/applications/config/option/PhabricatorCoreConfigOptions.php
@@ -268,24 +268,24 @@
if ($protocol !== 'http' && $protocol !== 'https') {
throw new PhabricatorConfigValidationException(
pht(
- "Config option '%s' is invalid. The URI must start with ".
- "%s' or '%s'.",
+ 'Config option "%s" is invalid. The URI must start with '.
+ '"%s" or "%s".',
+ $key,
'http://',
- 'https://',
- $key));
+ 'https://'));
}
$domain = $uri->getDomain();
if (strpos($domain, '.') === false) {
throw new PhabricatorConfigValidationException(
pht(
- "Config option '%s' is invalid. The URI must contain a dot ".
- "('%s'), like '%s', not just a bare name like '%s'. Some web ".
- "browsers will not set cookies on domains with no TLD.",
+ 'Config option "%s" is invalid. The URI must contain a dot '.
+ '("%s"), like "%s", not just a bare name like "%s". Some web '.
+ 'browsers will not set cookies on domains with no TLD.',
+ $key,
'.',
'http://example.com/',
- 'http://example/',
- $key));
+ 'http://example/'));
}
$path = $uri->getPath();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 7:42 AM (6 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7715175
Default Alt Text
D19330.id46241.diff (1 KB)
Attached To
Mode
D19330: Fix argument ordering in error message
Attached
Detach File
Event Timeline
Log In to Comment