Page 1 of 1

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

Posted: May 4th, 2021, 8:05 am
by iUseNetter
If you want to download a NZB-Name like this:
SomeBlabla.-.Bla.Bla.Bla.azw3{{cXYZ~twZu1i@7Rl}}.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

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

Posted: May 4th, 2021, 8:27 am
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?

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

Posted: May 4th, 2021, 8:37 am
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~twZu1i@7Rl}}.nzb
it is now
SomeBlabla.-.Bla.Bla.Bla.azw3{{cXYZ_twZu1i@7Rl}}.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.