Page 1 of 1

nzb file cannot start with a space

PostPosted: Sat Oct 20, 2012 9:09 am
by bcaulf
I have accidentally created nzb files whose name starts with a space character, due to copy-and-paste into a web form like binsearch.info and having a space in the copied text. Binsearch returns an nzb file like " testing.nzb" and this is not accepted by NewsBin. It throws "Error - NZB File Load Failed: C:\nzb\ testing.nzb". On e.g. NewsLeecher the nzb file is handled normally without a problem. So I would say this is a bug; maybe somewhere Newsbin is trimming off the leading space and then it fails to load the file because it has the wrong name. Thoughts?

Re: nzb file cannot start with a space

PostPosted: Sat Oct 20, 2012 10:04 am
by Quade
Thanks.

Yeah, it's probably cleaning up the filename before use. Space at the end is illegal, I must have assumed one at the beginning is illegal too.

I added a note to my todo to look at this.

Re: nzb file cannot start with a space

PostPosted: Sat Oct 20, 2012 2:31 pm
by bcaulf
Bug report followed by the developer confirming and adding it to the todo list within a day. This is one reason why I love your software.