Don't replace Tilde ("swung dash") in NZB name with underscore

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
iUseNetter
Newbie
Newbie
Posts: 37
Joined: December 1st, 2019, 2:53 pm

Don't replace Tilde ("swung dash") in NZB name with underscore

Post by iUseNetter »

If you want to download a NZB-Name like this:
SomeBlabla.-.Bla.Bla.Bla.azw3{{[email protected]}}.nzb
SABnzbd will replace the Tilde ~ character with an underscore.
Especially if this Tilde appears in a detected password, this prevents the automatic unzip/unrar process. You have to manually change the password after you get the warning, that the password wasn't correct.

Could you please let such a tilde unchanged, at least in a detected password?

SABnzbd-Version: 3.2.1 [0542c25]
Running on Synology-NAS

User avatar
safihre
Administrator
Administrator
Posts: 4282
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Don't replace Tilde ("swung dash") in NZB name with underscore

Post by safihre »

Are you sure that SABnzbd does that?
I can't reproduce it. Also when I look in the source-code of SABnzbd, the ~ isn't mentioned anywhere related to filenames..
Are you maybe using other scripts or tools that could do that?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

iUseNetter
Newbie
Newbie
Posts: 37
Joined: December 1st, 2019, 2:53 pm

Re: Don't replace Tilde ("swung dash") in NZB name with underscore

Post by iUseNetter »

Shame on me!!

You are absolutely right: The problem is NOT inside SABnzbd,
it's Google Chrome who changed this sign during the download.
I just realized it by answering to your question that my local downloaded NZB-file is no more
SomeBlabla.-.Bla.Bla.Bla.azw3{{cXYZ~[email protected]}}.nzb
it is now
SomeBlabla.-.Bla.Bla.Bla.azw3{{cXYZ_[email protected]}}.nzb

I have no idea why the Chrome browser thinks it is a good idea to change a file name during the download...

Sorry for the wrong accusation!

Some additional source:
https://superuser.com/questions/1360571 ... in/1360801
including the developers answer:

Status: WontFix

Unfortunately we decided to remove the tilde from the list of characters deemed safe for filenames due to its interaction with short filename support on Windows. We could be more conservative (for example test~test~test.txt doesn't really count as dangerous). But for the moment we've opted to keep things simple.

Post Reply