Page MenuHomePhabricator

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

Authored by epriestley on May 11 2016, 12:01 AM.
Tags
None
Referenced Files
F15587272: D15882.diff
Thu, May 8, 10:14 PM
F15579940: D15882.id38262.diff
Wed, May 7, 2:24 AM
F15548449: D15882.id38250.diff
Sat, Apr 26, 11:48 PM
F15548014: D15882.id.diff
Sat, Apr 26, 9:27 PM
F15542725: D15882.diff
Fri, Apr 25, 6:27 PM
F15518323: D15882.diff
Sat, Apr 19, 12:40 PM
F15513891: D15882.id38262.diff
Thu, Apr 17, 10:27 PM
F15427759: D15882.id38250.diff
Mar 23 2025, 3:57 PM
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.