Reply
Thread Tools Display Modes
Unread 01-19-12, 07:17 AM   #1
MaikuMori
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 7
Patcher API broken with the move to CDN.

The info API interface returns wrong URL.
For example
Code:
curl http://www.wowinterface.com/patcher/info-8736.xml
returns
Code:
<UpdateUI>
	<Current>
		<UID>8736</UID>
		<UIName>BadBoy: Anti Spam Automatic Reporter</UIName>
		<UIFile>BadBoy-v6.634.zip</UIFile>
		<UIAuthorName>funkydude</UIAuthorName>
		<UIVersion>v6.634</UIVersion>
		<UIMD5>4001c9295a20fd4421d8c057115d0ab0</UIMD5>
		<UISize>17092</UISize>
		<UIFileURL>http://fs.wowinterface.com/patcher.php?id=8736</UIFileURL>
	</Current>
</UpdateUI>
UIFileURL points to nonexistent URL (404).
Then again the usual download link:
Code:
curl -I http://www.wowinterface.com/downloads/download8736-BadBoyAntiSpamAutomaticReporter
returns
Code:
HTTP/1.1 302 Found
Date: Thu, 19 Jan 2012 13:00:02 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze3
Set-Cookie: xxxx
Set-Cookie: xxxx
Set-Cookie: xxxx
Cache-Control: private
Pragma: private
Location: http://cdn.wowinterface.com/downloads/getfile.php?id=8736&d=1326933836
Vary: Accept-Encoding
Content-Type: text/html; charset=ISO-8859-1

I would really appreciate if that part of the API would be fixed. I can of course just use the download link, but this seems a lot cleaner.

Thanks.
MaikuMori is offline   Reply With Quote
Unread 01-19-12, 02:40 PM   #2
Dolby
Every day I'm shuffling
 
Dolby's Avatar
Premium Member
WoWInterface Admin
Join Date: Feb 2004
Posts: 1,965
Should be fixed now, sorry we moved our servers on to a cloud system so lots of things changed. Totally forgot about the legacy patcher api.

It wasnt the move to the CDN since that happend 4 months ago. Its just that the server fs.wowinterface went poof with the move.
Dolby is online now   Reply With Quote
Unread 01-19-12, 03:20 PM   #3
MaikuMori
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 7
Originally Posted by Dolby View Post
Totally forgot about the legacy patcher api.
I'm probably the only one still using that thing

Hmm seems like it's still broken. It returns
Code:
<UIFileURL>http://www.wowinterface.com/getfile.php?id=8736</UIFileURL>
Shouldn't it be
Code:
http://cdn.wowinterface.com/downloads/getfile.php?id=8736

Last edited by MaikuMori : 01-19-12 at 03:26 PM.
MaikuMori is offline   Reply With Quote
Unread 01-21-12, 07:30 AM   #4
MaikuMori
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 7
Bump. I think you missed my edit.
MaikuMori is offline   Reply With Quote
Reply

Go BackWoWInterface » Site Forums » Site help, bugs, suggestions/questions » Patcher API broken with the move to CDN.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off