Page 1 of 1

Folder names and {{ at the end

PostPosted: Mon Oct 26, 2015 8:19 am
by Calahan
Hello,

Folder names still contains {{ at the end in some cases when downloading from nzb files.
Examples:
Nzb file name is: "abc.xyz{{password}}"
result is correct: folder is created as "abc.xyz"

Nzb file name is: "abc xyz{{password}}"
resulting folder name has {{ at the end: "abc xyz{{"

Maybe I'm wrong but it seems to me that the dot and the blank is what causes the difference in the resulting folder name.
Still in 662b3.

Kind Regards,
Calahan

Re: Folder names and {{ at the end

PostPosted: Mon Oct 26, 2015 10:22 am
by Quade
Maybe I'm wrong but it seems to me that the dot and the blank is what causes the difference in the resulting folder name.
Still in 662b3.



"\{\{.{5,100}\}\}[.]"

Is the current RE. It requires that the password be at least 5 chars long and end in a dot. I wonder if the end-dot is the issue?

In your two examples, the RE won't match because they lack the trailing period. I wonder if I should remove that check?

Re: Folder names and {{ at the end

PostPosted: Mon Oct 26, 2015 5:44 pm
by Quade
Think I just fixed this.

Re: Folder names and {{ at the end

PostPosted: Mon Oct 26, 2015 7:36 pm
by Calahan
You are right, my examples were missing the ".nzb" at the end.
I will test the next beta, if the problem is still there, I will post better examples :)

All the best,
Calahan

Re: Folder names and {{ at the end

PostPosted: Mon Oct 26, 2015 9:15 pm
by Quade
I've made the "." optional now. Thanks for the report.

Re: Folder names and {{ at the end

PostPosted: Mon Nov 16, 2015 12:13 am
by Calahan
Seems my last post was not seen here.
So I created a new topic.
(Title: Folder name from nzb file wrong (too short))

All the best,
Calahan