View Single Post
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.
  Reply With Quote