persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.13k stars 647 forks source link

weird behaviour when `Change File Name` is enabled. #901

Open mehdipourfar opened 2 years ago

mehdipourfar commented 2 years ago

System Details:

Issue Description and steps to reproduce: Whenever I paste a url and Change File Name field is checked (which by default is), the program omits the first character of the title and the last character of the extension. So when I download some link like https://eu.cdn.cloudam.cc/dl/2/556543/368757/12176/51.255.213.184/xxxxxxxxx/series/the_sopranos/The_Sopranos_S04E01_10bit_x265_720p_BluRay_30nama_30NAMA.mkv, my downloaded file name will be named: he_Sopranos_S04E01_10bit_x265_720p_BluRay_30nama_30NAMA.mk