[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2533: magic-folder CLI parsing error

Tahoe-LAFS trac at tahoe-lafs.org
Wed Oct 14 10:44:50 UTC 2015


#2533: magic-folder CLI parsing error
--------------------------------------------+-----------------------
     Reporter:  warner                      |      Owner:  daira
         Type:  defect                      |     Status:  new
     Priority:  normal                      |  Milestone:  undecided
    Component:  code-frontend-magic-folder  |    Version:  1.10.1
   Resolution:                              |   Keywords:
Launchpad Bug:                              |
--------------------------------------------+-----------------------

Comment (by dawuud):

 in this dev branch i've made a simple modification to JoinOption class to
 reject filepaths starting with -.

 https://github.com/david415/tahoe-lafs/tree/2533.fix-cli-parsing.0

 however the testing API we use for the CLI is not sufficient to test this
 CLI failure case. it makes me think that in general we need to rewrite all
 the CLI tests so that they actually stand a chance of triggering usage
 errors if arguments are malformed.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2533#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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