Menu

#17 .files [dot-files]

v2.0
open
nobody
MakeTorrent (6)
5
2004-12-23
2004-12-23
Anonymous
No

Do you know that a starting '.' [dot] is not allowed in a
torrent path?

Check the code of btformats.py from BitTornado:

[line btformats.py]
47 if not reg.match(p):
48 raise ValueError, 'path %s disallowed
for security reasons' % p

with reg = compile(r'^[^/\\.~][^/\\]*$') you get an
errror with '.' in front of path.
'.files' [dot-files] are supposed to be hidden on Unix.

Maybe MakeTorrent could check this too.

trilogytrilogy@msn.com

Discussion

  • Nobody/Anonymous

    example torrent with '.baddot' file

     
  • Mike Ravkine

    Mike Ravkine - 2004-12-23

    Logged In: YES
    user_id=831271

    Agreed, put on todo list.

     

Log in to post a comment.

MongoDB Logo MongoDB