Page MenuHomePhabricator

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

Authored by epriestley on May 11 2016, 12:01 AM.
Tags
None
Referenced Files
F18635979: D15882.id.diff
Wed, Sep 17, 3:07 AM
F18630654: D15882.diff
Tue, Sep 16, 12:20 PM
F18621891: D15882.id38262.diff
Mon, Sep 15, 9:50 AM
F18406048: D15882.diff
Aug 29 2025, 11:56 PM
F18375509: D15882.id38250.diff
Aug 28 2025, 10:05 AM
F18101934: D15882.id38262.diff
Aug 9 2025, 4:47 PM
F18086857: D15882.id.diff
Aug 6 2025, 12:38 AM
F18086717: D15882.id.diff
Aug 5 2025, 11:41 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.