Page 1 of 1

{RESOLVED] Export Whitelist appends "..txt"

Posted: Sat Sep 17, 2011 3:09 pm
by SeanM
Under Windows/XP, Firefox 6.0.2 and NoScript 2.1.2.9rc1, export of the whitelist to a non-suffixed DSN (such as "whitelist") appends "..txt" (2 dots) rather than ".txt" (one dot).

Image

Export to a properly suffixed DSN, (such as "whitelist.txt") proceeds correctly.

Re: Export Whitelist appends "..txt"

Posted: Sat Sep 17, 2011 3:12 pm
by therube
Confirmed, "whitelist..txt".
Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20110910 SeaMonkey/2.4

(And not that I know what a DSN is?)

Re: Export Whitelist appends "..txt"

Posted: Sat Sep 17, 2011 3:42 pm
by SeanM
therube wrote:Confirmed, "whitelist..txt".
Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20110910 SeaMonkey/2.4

(And not that I know what a DSN is?)
Must have brain-fog flashed back to IBM mainframe MVS ....
:?

Re: Export Whitelist appends "..txt"

Posted: Mon Sep 19, 2011 5:43 am
by Tom T.
... But it doesn't matter, at least in Win XP. The file still saves, and when 2-clicked, Notepad opens it nicely.
When Windows parses file extensions, it ignores everything except the last dot and whatever's after that. This used to catch a lot of people with e-mail viruses, e. g.. an attachment JenniferLopezNude.jpg.vbs. The user sees the familiar and comfortable .jpg extension, but Windows sees the Visual Basic Scripting extension and runs the VB script. = virus.

I agree that it still needs to be fixed, even in Win, and I'm assuming that Linux is less "forgiving".
Will flag this for Giorgio's attention as a bug. Thanks for the bug report, Sean.

Re: Export Whitelist appends "..txt"

Posted: Mon Sep 19, 2011 6:25 am
by Giorgio Maone
Investigating, thanks.

Re: Export Whitelist appends "..txt"

Posted: Tue Sep 20, 2011 12:44 pm
by Giorgio Maone

Re: Export Whitelist appends "..txt"

Posted: Tue Sep 20, 2011 7:22 pm
by SeanM
Giorgio Maone wrote:Fixed in latest development build 2.1.3rc1.
Installed and tested above build on Windows/XP/SP3. Export of whitelist anchors destination to the username, specifically

Code: Select all

<drive>:\Documents and Settings\<username>
with dataset name empty (for user-selection) and filetype(s) blank. Exported whitelist will have an appended ".txt" if no filetype suffix is provided.

Thanks for the solution !

Re: {RESOLVED] Export Whitelist appends "..txt"

Posted: Tue Sep 20, 2011 9:34 pm
by Tom T.
SeanM, thanks for confirming the successful resolution of both whitelist export issues.
Also, thanks for reporting them, and for your previous bug reports here.

Because you are a frequent contributor, I'd like to add that you can mark your own topics "resolved", when the have been done so to your satisfaction.
Just click "edit" on your OP, add the word to the title as I've done, (preview and proofread it), and click Submit.
No big deal - we're happy to do it -- but it calls attention to the resolution that much sooner for others who may be browsing the board and for other team members to know that a thread no longer needs attention. But it's not mandatory1

Again, thanks for your many contributions to improving NoScript.