[tahoe-lafs-trac-stream] [tahoe-lafs] #1806: automatically url-decode capabilities in cli

tahoe-lafs trac at tahoe-lafs.org
Fri Sep 14 20:54:16 UTC 2012


#1806: automatically url-decode capabilities in cli
-----------------------------------+-------------------------------
     Reporter:  ChosenOne          |      Owner:
         Type:  enhancement        |     Status:  closed
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-cli  |    Version:  1.9.0
   Resolution:  duplicate          |   Keywords:  usability newurls
Launchpad Bug:                     |
-----------------------------------+-------------------------------

Comment (by davidsarah):

 Replying to [comment:1 zooko]:
 > Hm,
 [source:src/allmydata/uri.py at 20120509200714-66853-a322b18cb1762fd5b1d1733acd8ff2aa0daf6494
 uri.py] already has a regex that accepts either {{{:}}} or {{{%3A}}} in
 those spots. Maybe we just need to make sure that the CLI passes the
 strings to {{{uri.py}}} instead of trying to parse the strings itself?
 What is the error that occurs when you paste a cap with "%3A" in it to the
 CLI?

 {{{SEP}}}, which contains the {{{"%3A"}}}, is only used in the
 {{{HUMAN_RE}}} regex for each URI class, not for the {{{STRING_RE}}}
 regex. As far as I know the {{{HUMAN_RE}}} regexes are never used (I
 thought there was a cleanup ticket about that, but I can't find it if
 there is).

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1806#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list