[tahoe-lafs-trac-stream] [tahoe-lafs] #2128: comments in tahoe.cfg cause introducers to appear down

tahoe-lafs trac at tahoe-lafs.org
Thu Dec 19 17:00:32 UTC 2013


#2128: comments in tahoe.cfg cause introducers to appear down
-------------------------+--------------------------------------------
     Reporter:  amiller  |      Owner:  daira
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  1.10.0
   Resolution:           |   Keywords:  review-needed usability config
Launchpad Bug:           |
-------------------------+--------------------------------------------

Comment (by amiller):

 I now have a regular expression that tests for an unescaped # in the furl.
 However I don't think it's complete. The regexp is {{{([\^\\\\]|^)#}}}
 which matches any # that is not preceded by a backslash.

 My test includes the following:
 {{{
         assert re.search(regexp, "test#test") is not None
         assert re.search(regexp, "#testtest") is not None
         assert re.search(regexp, "test\#test") is None
         assert re.search(regexp, "testtest") is None
 }}}

 Unfortunately I think the string {{{test\\#test}}} should probably be
 matched, but it isn't. I'd need to look at how the \-escaping works to be
 sure.

 https://github.com/amiller/tahoe-
 lafs/commit/47694c89d0e40ca869f74a53fee9703349dca474

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


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