2.6.2 not extracting .bat files

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

2.6.2 not extracting .bat files

Postby Tupsi » Tue Feb 27, 2007 9:19 am

Some of my addons keep re-re-re-updating themselfs after hitting the sync button, even though i havent changed anything in UA. After checking the extracting in the debug log, I noticed that UU does not extract .bat files out of the addon zips downloaded, so in the next iteration of checking for new stuff it stumbles over the .bat file in the xml and say "hey, dont have that file, so the one on the server must be new!".
So I would suggest you change UU to either extract everything out of the zip or skip the xml check of the files you dont want to extract.

Code: Select all
[2007.02.27 09:05:51] Beginning the XML document parsing
[2007.02.27 09:05:51] FileToByteArray: Die Datei S:\download\wow\temp\\Interface\\AddOns\\oRA2\\ora2lod.bat konnte nicht gefunden werden.
[2007.02.27 09:05:52] FileToByteArray: Die Datei S:\download\wow\temp\\Interface\\AddOns\\BigWigs\\bigwigslod.bat konnte nicht gefunden werden.
[2007.02.27 09:05:52] The # of addons to be updated are: 2
[2007.02.27 09:05:52] The following list of outdated or non-existent addons will be processed:
[2007.02.27 09:05:52]                                               
[2007.02.27 09:05:52] oRA2  -Ace2-
[2007.02.27 09:05:52] Big Wigs  -Ace2-
[2007.02.27 09:05:52]                                               
[2007.02.27 09:05:52] Now updating: oRA2  -Ace2-
[2007.02.27 09:05:52] = = = = = = = = = = = = = = = = = =
[2007.02.27 09:05:52]
[2007.02.27 09:05:52]
[2007.02.27 09:05:52] RetrData: url: http://www.fraternitas-ferreus.net/ua/interface.php
[2007.02.27 09:05:52] RetrData: param1: OPERATION
[2007.02.27 09:05:52] RetrData: val1: GETADDON
[2007.02.27 09:05:52] RetrData: param2: ADDON
[2007.02.27 09:05:52] RetrData: val2: oRA2  -Ace2-
[2007.02.27 09:05:52] RetrData: Timeout: -1
[2007.02.27 09:05:52] RetrData: ------------------------------------------------------------------------
[2007.02.27 09:05:52] http://www.fraternitas-ferreus.net/ua/addon_zips/oRA2-r29055.1.zip
[2007.02.27 09:05:52] RetrData: ------------------------------------------------------------------------
[2007.02.27 09:05:52]
[2007.02.27 09:05:52] File Name: oRA2-r29055.1.zip
[2007.02.27 09:05:52] zipFileLocalLocation: S:\download\wow\temp\oRA2-r29055.1.zip
[2007.02.27 09:05:52] Downloading.: http://www.fraternitas-ferreus.net/ua/addon_zips/oRA2-r29055.1.zip
[2007.02.27 09:05:55] Unzipping
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Changelog-oRA2-r29055.xml
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\changelog-r29055.txt
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\LoadOnDemand.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\filelist.wau
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\oRA2.toc
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Core.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Options.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\ora2lod.sh
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Bindings.xml
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Participant\Buff.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Participant\MainTank.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Participant\CoolDown.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Participant\Ready.lua
[2007.02.27 09:05:55] Writing File: S:\download\wow\temp\Interface\AddOns\oRA2\Participant\Resurrection.lua
[2007.


you can see there that no .bat is extracted.

"Die Datei [file] konnte nicht gefunden werden." == "The file [file] could not be found."

ps: i hate this german stuff screwing up my debug log, thanks ms for localisation at places no one wants!
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

2.6.2 not extracting .bat files

Postby Tupsi » Tue Feb 27, 2007 9:23 am

just cross checked it and uploaded the addon zip without the .bat file. now UU stays put after the initial upload.
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

2.6.2 not extracting .bat files

Postby zanix » Tue Feb 27, 2007 9:24 am

You can manually change UU's localization
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

2.6.2 not extracting .bat files

Postby jlaplaca » Tue Feb 27, 2007 9:58 pm

Ok found the problem with U.U. The problem is that U.U. Doesn't unzip any files that can be harmful to the users system. files like. .bat, .exe, .jar, .vbs, .com are all files that can damage a computer system if it where to have some kind of virus. this is hard coded into the U.U. If you download the Source Code and change out some of the extension checking then it will allow to download.
Image
User avatar
jlaplaca
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Sun Feb 18, 2007 6:03 am
Location: Rocheser,NY

2.6.2 not extracting .bat files

Postby Ansgar » Tue Feb 27, 2007 11:10 pm

Is it not possible to force UniUploader not to take care of these files because now it's a blocking issue.
Ansgar
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Wed Jul 05, 2006 7:12 pm

2.6.2 not extracting .bat files

Postby jlaplaca » Tue Feb 27, 2007 11:38 pm

Like I said right now the Developer have Hard Coded the file types in the code so if you have VS 2003-VS 2005 you can edit code to unblock the file types. There is no section of UU to allow any user selection of what file type to block. Until there is on kind of update to U.U. all you can do is edit the source code and re-compile the application.
Last edited by jlaplaca on Tue Feb 27, 2007 11:41 pm, edited 1 time in total.
Image
User avatar
jlaplaca
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Sun Feb 18, 2007 6:03 am
Location: Rocheser,NY

2.6.2 not extracting .bat files

Postby MattM » Wed Feb 28, 2007 3:38 am

jLapLaca is right, and I have no intention of making the "blocked extensions" list non hard coded.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

2.6.2 not extracting .bat files

Postby zanix » Wed Feb 28, 2007 3:41 am

I will also code UniAdmin to not scan these file types either
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

2.6.2 not extracting .bat files

Postby MattM » Wed Feb 28, 2007 3:57 am

I suggest you tell the author not to include .bat files in his/her addon.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: 2.6.2 not extracting .bat files

Postby Tupsi » Wed Feb 28, 2007 9:59 am

MattM wrote:I suggest you tell the author not to include .bat files in his/her addon.


this is pointless and you know it, besides its not the best solution either, as we would start hunting around for addon programmers to talk them into doing there addons in a certain way.

But with Zanix change in UA we should be all set, thanks! Just ignoring the possible bad files on both sides seems a much more better solution :cyclops:
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

2.6.2 not extracting .bat files

Postby MattM » Wed Feb 28, 2007 1:30 pm

yea your right
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron