Bug #34

Special signs in subject

Added by renelux almost 3 years ago. Updated almost 3 years ago.

Status: Closed Start: 06/10/2010
Priority: Normal Due date:
Assigned to: Alguno % Done:

100%

Category: NNTPGrab Core
Target version: 0.7.0
Votes: 0

Description

Files, which have a "ü, ä, ö" or other signs in the subject line between " and ", lead to access errors. Illegal Argument. It is only a string en/decoding, which makes the wanted file unreachable. Try downloading anything with signs like "ü, ä, ö" (UTF8) ä ü etc... in the subject line and you will see.

Related to: https://www.nntpgrab.nl/boards/3/topics/6


Related issues

related to Bug #38: NNTPGRAB has problems with filenames with é in it. Closed 06/26/2010
related to Bug #44: Stopped Download Queue When Filename Contains Local Letter(s) Closed 08/14/2010

Associated revisions

Revision 1650
Added by Alguno almost 3 years ago

Before decoding files, make sure that the filename is in the UTF-8 charset.
If this isn't the case try to convert the filename from Windows-1252 to UTF-8 first. Fixes #34

Revision 1651
Added by Alguno almost 3 years ago

Backported previous commit to the 0.6 branch. Refs #34

Revision 1652
Added by Alguno almost 3 years ago

Ensure that the output of par2cmdline is UTF-8 before processing it.
Should fix 'unknown state for PAR2 message' which could occur on files
which are in the Windows-1252 character encoding. Refs #34

History

#1 Updated by Alguno almost 3 years ago

    Do you have a NZB file which contains such files? Could you please attach it to this bugreport?

    #2 Updated by mx almost 3 years ago

      here is an example nzb file. it is on german content, so regularly there are names with ä, ü, ö etc.

      #3 Updated by mx almost 3 years ago

        mx wrote:

        here is an example nzb file. it is on german content, so regularly there are names with ä, ü, ö etc.

        #4 Updated by mx almost 3 years ago

          mx wrote:

          here is an example nzb file. it is on german content, so regularly there are names with ä, ü, ö etc.

          note: somehow the file could not be attached. 1294042.nzb is the possible search string.

          #5 Updated by Alguno almost 3 years ago

            Could you please try the upload again? I've just changed something at the server side which should fix the file upload feature

            #6 Updated by Alguno almost 3 years ago

            • Status changed from New to Closed
            • % Done changed from 0 to 100

            Applied in changeset r1650.

            #7 Updated by Alguno almost 3 years ago

              If you want to test the fix, you can use one of these versions:
              Win32: https://snapshots.nntpgrab.nl/win32/stable-0.6/nntpgrab_0_6_snapshot_svn_rev1651_setup.exe
              Win64: https://snapshots.nntpgrab.nl/win64/stable-0.6/nntpgrab_0_6_snapshot_svn_rev1651_setup_x64.exe

              #8 Updated by Alguno almost 3 years ago

              • Target version set to 34

              #9 Updated by Alguno almost 3 years ago

              • Target version changed from 34 to 0.7.0

              Also available in: Atom PDF