UniUploader and free hosting services

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

UniUploader and free hosting services

Postby Shylanna » Sun Sep 16, 2007 8:05 pm

Hi all

I've noticed that UniUploader doesn't work with some free hosting serivices (like mine) because when it tryies to upload datas via POST method to "www.somedomain.com/roster/update.php", it sends a non-standard browser user-agent procedure, here the header i've traced:

Code: Select all
POST /roster/update.php HTTP/1.1
User-Agent: UniUploader 2.0 (UU 2.6.7; English)
Content-Type: multipart/form-data; boundary=9a110af5f8be4e63a88ee0bc2516aee0
Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Length: 183138
Connection: Keep-Alive
Host: devnull.hyperphp.com


Can UniUploader (in the future, i mean) send a standard-broswer header, specially the User-Agent entry like this ?

Code: Select all
POST /roster/update.php HTTP/1.1
Host: devnull.hyperphp.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive


Same problem detected with jUniUploader.

Thanks and forgive my english, i'm not english speaking :)

Shy
Last edited by Shylanna on Mon Sep 17, 2007 3:06 pm, edited 1 time in total.
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm

UniUploader and free hosting services

Postby MattM » Tue Sep 18, 2007 12:37 am

There must be a reason your host has a "white list" for agents.

Changing the agent in UU is not possible unless you recompile it.

I won't be adding the option for a custom agent string again.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader and free hosting services

Postby zanix » Tue Sep 18, 2007 12:46 am

Or as an alternative, you could use a drop down list for it

UU
FF
IE

And just leave it at that
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

Re: UniUploader and free hosting services

Postby Shylanna » Tue Sep 18, 2007 3:16 pm

zanix wrote:Or as an alternative, you could use a drop down list for it

UU
FF
IE

And just leave it at that


It could be very useful, many free hosting services simply redirect to a 404 page every requests made by a "non-standard" agent browser.

Hope to see that drop-down list in the future :)

Thanks

Shy
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm

UniUploader and free hosting services

Postby Shylanna » Tue Sep 18, 2007 5:20 pm

Oh well ... i'm looking at the sources of jUniUploader, i'm more confident with java language, so i've made the modification in the User-Agent section.

... but i've troubles compiling the .jar files :P [ok this is the wrong board] :)
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm

UniUploader and free hosting services

Postby MattM » Tue Sep 18, 2007 9:51 pm

As I said, there is a reason your host doesn't want you to use so called "non standard" tools with their services.

If you want to edit the code theres a function called getUserAgent or something like that, more power to you.

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

Re: UniUploader and free hosting services

Postby MattM » Sun Oct 21, 2007 1:13 am

Unlocking.

I was an idiot to lock a thread in a forum where discussion is valuable
Last edited by MattM on Sun Oct 21, 2007 1:16 am, edited 1 time in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader and free hosting services

Postby MattM » Sun Oct 21, 2007 1:16 am

How much do you guys want me to put this feature in?
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