Page MenuHomePhabricator

Fix argument ordering in error message
ClosedPublic

Authored by amckinley on Apr 10 2018, 5:01 PM.
Tags
None
Referenced Files
F19223534: D19330.diff
Wed, Dec 17, 2:17 PM
F18875306: D19330.id46237.diff
Nov 5 2025, 5:31 PM
F18704839: D19330.id.diff
Sep 28 2025, 9:02 AM
F18639096: D19330.diff
Sep 17 2025, 12:43 PM
F18628580: D19330.id46241.diff
Sep 16 2025, 6:39 AM
F18566295: D19330.diff
Sep 9 2025, 2:27 PM
F18509543: D19330.id.diff
Sep 5 2025, 3:27 AM
F18502627: D19330.diff
Sep 4 2025, 10:34 PM
Subscribers
Tokens
"Pterodactyl" token, awarded by epriestley.

Details

Summary

Before:

$ ./config set phabricator.base-uri local.phacility.com:8080
Usage Exception: Config option 'http://' is invalid. The URI must start with https://' or 'phabricator.base-uri'.

After:

$ ./config set phabricator.base-uri local.phacility.com:8080
Usage Exception: Config option 'phabricator.base-uri' is invalid. The URI must start with http://' or 'https://'.
Test Plan

See above

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley added inline comments.
src/applications/config/option/PhabricatorCoreConfigOptions.php
271–273

Missing single quote here, too, I think, before the first %s.

(Consider rewriting so that the values are double-quoted for consistency -- I've been gradually trying to move our strings so that "values" are more consistently enclosed in "double quotes".)

This revision is now accepted and ready to land.Apr 10 2018, 5:06 PM

Change to double-quotes; fix a second parameter order bug

This revision was automatically updated to reflect the committed changes.