Folder names and {{ at the end

This is the place to help test and discuss Version 6 Beta releases.

Folder names and {{ at the end

Postby Calahan » Mon Oct 26, 2015 8:19 am

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
Calahan
Seasoned User
Seasoned User
 
Posts: 124
Joined: Wed May 15, 2013 11:14 am

Registered Newsbin User since: 01/14/12

Re: Folder names and {{ at the end

Postby Quade » Mon Oct 26, 2015 10:22 am

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?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Folder names and {{ at the end

Postby Quade » Mon Oct 26, 2015 5:44 pm

Think I just fixed this.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Folder names and {{ at the end

Postby Calahan » Mon Oct 26, 2015 7:36 pm

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
Calahan
Seasoned User
Seasoned User
 
Posts: 124
Joined: Wed May 15, 2013 11:14 am

Registered Newsbin User since: 01/14/12

Re: Folder names and {{ at the end

Postby Quade » Mon Oct 26, 2015 9:15 pm

I've made the "." optional now. Thanks for the report.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44867
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Folder names and {{ at the end

Postby Calahan » Mon Nov 16, 2015 12:13 am

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
Calahan
Seasoned User
Seasoned User
 
Posts: 124
Joined: Wed May 15, 2013 11:14 am

Registered Newsbin User since: 01/14/12


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests