Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug report: Vuze fails to handle files with quotation marks
#1
Vuze fails when creating/opening a torrent with filenames that have quotation marks.  Vuze fails to find the file.  Yes, I know NTFS cannot handle quotation marks.  Get over it; decent filesystems can.  Please patch this function with an if statement around the quote conversion to apply only to filesystems that cannot handle quotation marks.  People on non-Windows operating systems are sad. ::sadface::

Vuze converts filenames with quotation marks (U+0022) via method convertOSSpecificChars() in FileUtil.java. See https://github.com/svn2github/vuze/blob/....java#L327 .

I am not 100% certain the aforementioned function is responsible for the issue, but it seems to be the most likely cause.
Reply
#2
Can you send me an example of a failing torrent to paul@vuze.com?

thanks!
Reply
#3
(02-17-2016, 10:31 PM)'parg' Wrote: Can you send me an example of a failing torrent to paul@vuze.com?

thanks!

 

Email sent. Steps taken:
1. Create a file with the filename: 

Code:
sample file with "quotation marks".txt

2. Create a torrent in Vuze.  The torrent is created correctly:


Code:
0000000: 6438 3a61 6e6e 6f75 6e63 6533 383a 7564 d8:announce38:ud
0000010: 703a 2f2f 7472 6163 6b65 722e 7075 626c p://tracker.publ
0000020: 6963 6274 2e63 6f6d 3a38 302f 616e 6e6f icbt.com:80/anno
0000030: 756e 6365 3138 3a61 7a75 7265 7573 5f70 unce18:azureus_p
0000040: 726f 7065 7274 6965 7364 3137 3a64 6874 ropertiesd17:dht
0000050: 5f62 6163 6b75 705f 656e 6162 6c65 6931 _backup_enablei1
0000060: 6565 373a 636f 6d6d 656e 7430 3a31 333a ee7:comment0:13:
0000070: 636f 6d6d 656e 742e 7574 662d 3830 3a31 comment.utf-80:1
0000080: 303a 6372 6561 7465 6420 6279 3135 3a41 0:created by15:A
0000090: 7a75 7265 7573 2f35 2e37 2e30 2e30 3133 zureus/5.7.0.013
00000a0: 3a63 7265 6174 696f 6e20 6461 7465 6931 :creation datei1
00000b0: 3435 3538 3133 3535 3665 383a 656e 636f 455813556e8:enco
00000c0: 6469 6e67 353a 5554 462d 3834 3a69 6e66 ding5:UTF-84:inf
00000d0: 6f64 363a 6c65 6e67 7468 6932 3865 343a od6:lengthi28e4:
00000e0: 6e61 6d65 3338 3a73 616d 706c 6520 6669 name38:sample fi
00000f0: 6c65 2077 6974 6820 2271 756f 7461 7469 le with "quotati
0000100: 6f6e 206d 6172 6b73 222e 7478 7431 303a on marks".txt10:
0000110: 6e61 6d65 2e75 7466 2d38 3338 3a73 616d name.utf-838:sam
0000120: 706c 6520 6669 6c65 2077 6974 6820 2271 ple file with "q
0000130: 756f 7461 7469 6f6e 206d 6172 6b73 222e uotation marks".
0000140: 7478 7431 323a 7069 6563 6520 6c65 6e67 txt12:piece leng
0000150: 7468 6933 3237 3638 6536 3a70 6965 6365 thi32768e6:piece
0000160: 7332 303a c44d 0397 adc3 6af8 0d7f 3fdf s20:.M....j...?.
0000170: 8ec4 7c1e 7d22 a2df 373a 7072 6976 6174 ..|.}"..7:privat
0000180: 6569 3065 6565 ei0eee


3. Open the same torrent in Vuze.  The filename is converted to single quotes and will fail to find the original file:

[Image: VGQ6JNM.png]
Reply
#4
Tested the fix in v5.7.0.1_B20.  Works perfectly!  Thank you so much for fixing this so quickly!  You're awesome!
Reply
#5
No problem :)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bug: total uptime counter wraps Spacey 0 258 12-03-2016, 11:49 AM
Last Post: Spacey
  Vuze 5.7.3.0 - 5.7.1.0 Installer BUG OS X albert2 2 906 11-11-2016, 05:48 AM
Last Post: albert2



Users browsing this thread: 1 Guest(s)