Bug#660549: ikiwiki: [PATCH] openid-jquery.js: Update URL of Wordpress favicon
authorPaul Menzel <pm.debian@googlemail.com>
Sun, 19 Feb 2012 19:44:23 +0000 (20:44 +0100)
committerJoey Hess <joey@kitenet.net>
Sun, 19 Feb 2012 23:26:53 +0000 (19:26 -0400)
From a3041e786fe9e09110218e83e996fe688f8376ea Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Sun, 19 Feb 2012 16:05:33 +0100
Subject: [PATCH] openid-jquery.js: Update URL of Wordpress favicon

The URL for the favicon for Wordpress in the OpenID login page [1] is not valid anymore and gives the following access denied error.

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>C2BF55AE9F76A487</RequestId><HostId>FFmvol84V82UR34uxP1N7pDNGSLWS0QDtLBsP5JKj0GcU//C3jm3TftcIcGzFBbh</HostId></Error>

Looking at the Wordpress site I found a different URL for the favicon [2].

The other URLs only use non-secured HTTP access and therefore I only took the http version, although I do not know about the downsides.

[1] https://ddgw.s3.amazonaws.com/wordpress.org.ico
[2] http://s2.wp.com/i/favicon.ico

underlays/openid-selector/ikiwiki/openid/openid-jquery.js

index c59be1edc3e2538fe92b43df985e6f65c3f4ffab..0561103843adb093883c0aa437e4ca25fa36b4b2 100644 (file)
@@ -38,7 +38,7 @@ var providers_small = {
     },
     wordpress: {
         name: 'Wordpress',
-       icon: 'https://ddgw.s3.amazonaws.com/wordpress.org.ico',
+       icon: 'https://s2.wp.com/i/favicon.ico',
         label: 'Enter your Wordpress.com username:',
         url: 'http://{username}.wordpress.com/'
     },