Page MenuHomePhabricator

Allow "+" to remain unescaped by csprintf('%R', ...)
ClosedPublic

Authored by epriestley on May 11 2016, 12:01 AM.
Tags
None
Referenced Files
F13276120: D15882.diff
Fri, May 31, 5:34 AM
F13196846: D15882.diff
Sun, May 12, 11:37 PM
F13180202: D15882.id38250.diff
Wed, May 8, 10:37 PM
Unknown Object (File)
May 3 2024, 7:48 AM
Unknown Object (File)
Apr 25 2024, 1:59 AM
Unknown Object (File)
Apr 19 2024, 4:39 PM
Unknown Object (File)
Apr 17 2024, 2:53 PM
Unknown Object (File)
Apr 8 2024, 10:12 AM
Subscribers
None

Details

Summary

Ref T10923. Currently, when we %R ("readable") escape SVN SSH URIs (svn+ssh://...), they get quoted because they contain a +.

However, they don't need to be quoted, since + is not a special character in the shell.

Test Plan
  • Added and ran test cases.
  • Viewed SVN in Diffusion, saw unquoted checkout URI.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow "+" to remain unescaped by csprintf('%R', ...).
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 11 2016, 2:57 AM
This revision was automatically updated to reflect the committed changes.