{RESOLVED] Export Whitelist appends "..txt"

Bug reports and enhancement requests
Post Reply
User avatar
SeanM
Junior Member
Posts: 44
Joined: Fri Jul 24, 2009 1:42 pm
Location: Upstate, New York USA

{RESOLVED] Export Whitelist appends "..txt"

Post 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.
Last edited by Tom T. on Tue Sep 20, 2011 9:23 pm, edited 1 time in total.
Reason: mark as resolved
Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Export Whitelist appends "..txt"

Post 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?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20110910 SeaMonkey/2.4
User avatar
SeanM
Junior Member
Posts: 44
Joined: Fri Jul 24, 2009 1:42 pm
Location: Upstate, New York USA

Re: Export Whitelist appends "..txt"

Post 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 ....
:?
Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Export Whitelist appends "..txt"

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Export Whitelist appends "..txt"

Post by Giorgio Maone »

Investigating, thanks.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Export Whitelist appends "..txt"

Post by Giorgio Maone »

Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
User avatar
SeanM
Junior Member
Posts: 44
Joined: Fri Jul 24, 2009 1:42 pm
Location: Upstate, New York USA

Re: Export Whitelist appends "..txt"

Post 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 !
Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

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

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
Post Reply