Bug#914862: Ark can't handle rar archives that contain files with square brackets (that is, "[" and "]") in the name
Package: ark
Version: 4:18.04.1-1
Ark can't properly handle rar archives that contain files with square brackets (that is, "[" and "]") in the name.
How to test:
1. Take an existing valid epub file and rename it as "Test file - [Bracket Test].epub" (without quotes)
2. Put the above file into a rar archive with the name "Test file - [Bracket Test].epub.rar" (without quotes)
3. Open "Test file - [Bracket Test].epub.rar" wiht Ark, Ark shows "Test file - [Bracket Test].epub" inside.
4. Click on the "Test file - [Bracket Test].epub" inside Ark trying to view it
5. Ark will not be able to open the "Test file - [Bracket Test].epub" file and instead will show error: "The archive /tmp/ark-ZZyYJC/Test file - [Bracket Test].epub was not found"
6. Repeat steps 1-5 using "Test file - No Brackets in the name.epub" instead of "Test file - [Bracket Test].epub", it should work without any errors.
Thanks
Reply to: