Subject: ikiwiki: [PATCH] openid-jquery.js: Update URL of Wordpress favicon
Package: ikiwiki
Version: 3.20100815.7
Severity: normal
Tags: upstream patch

Dear Debian community,


the OpenID login page [1] does not display the favicon of Wordpress because the 
URL is invalid. Please find a patch inlined you can apply using `git am 
--scissors`.

Is this issue important enough to get into backports or even 
stable-proposed-updates?


Thanks,

Paul


PS: The ikiwiki favicon [2] is also not displayed on [1].

[1] http://ikiwiki.info/ikiwiki.cgi?page=index&do=edit
[2] http://ikiwiki.info/favicon.ico

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl    3.66-1            collection of modules that parse H
ii  libhtml-scrubber-perl  0.08-4            Perl extension for scrubbing/sanit
ii  libhtml-template-perl  2.9-2             module for using HTML Templates wi
ii  libtext-markdown-perl  1.0.26-1          Markdown and MultiMarkdown markup 
ii  liburi-perl            1.54-2            module to manipulate and access UR
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  gcc [c-compiler]             4:4.4.5-1   The GNU C compiler
ii  gcc-4.4 [c-compiler]         4.4.5-8     The GNU C compiler
ii  git [git-core]               1:1.7.2.5-3 fast, scalable, distributed revisi
ii  git-core                     1:1.7.2.5-3 fast, scalable, distributed revisi
ii  libauthen-passphrase-perl    0.007-1     Perl module encapsulating hashed p
ii  libc6-dev [libc-dev]         2.11.3-2    Embedded GNU C Library: Developmen
ii  libcgi-formbuilder-perl      3.05.01-7   Easily generate and process statef
ii  libcgi-session-perl          4.41-1      persistent session data in CGI app
ii  liblwpx-paranoidagent-perl   1.07-1      a "paranoid" subclass of LWP::User
ii  libmail-sendmail-perl        0.79.16-1   Send email from a perl script
ii  libnet-openid-consumer-perl  1.03-1      library for consumers of OpenID id
ii  libterm-readline-gnu-perl    1.20-1      Perl extension for the GNU ReadLin
ii  libtimedate-perl             1.2000-1    collection of modules to manipulat
ii  libxml-simple-perl           2.18-3      Perl module for reading and writin

Versions of packages ikiwiki suggests:
pn  dvipng                  <none>           (no description available)
ii  gettext                 0.18.1.1-3       GNU Internationalization utilities
pn  graphviz                <none>           (no description available)
ii  libcrypt-ssleay-perl    0.57-2           Support for https protocol in LWP
ii  libfile-mimeinfo-perl   0.15-1           Perl module to determine file type
pn  libhighlight-perl       <none>           (no description available)
ii  libhtml-tree-perl       3.23-2           Perl module to represent and creat
ii  liblocale-gettext-perl  1.05-6           Using libc functions for internati
ii  libmailtools-perl       2.06-1           Manipulate email in perl programs
pn  libnet-amazon-s3-perl   <none>           (no description available)
ii  librpc-xml-perl         0.73-1           Perl module implementation of XML-
ii  libsearch-xapian-perl   1.2.3.0-1        Perl bindings for the Xapian searc
ii  libsort-naturally-perl  1.02-1           Sort naturally - sort lexically ex
pn  libsparkline-php        <none>           (no description available)
ii  libtext-csv-perl        1.18-1           comma-separated values manipulator
pn  libtext-textile-perl    <none>           (no description available)
ii  libtext-typography-perl 0.01-2           markup ASCII text with correct typ
pn  libtext-wikicreole-perl <none>           (no description available)
ii  libtext-wikiformat-perl 0.78-1           translates Wiki formatted text int
ii  libxml-feed-perl        0.43+dfsg-1      syndication feed parser and auto-d
ii  libyaml-perl            0.71-1           YAML Ain't Markup Language
ii  perlmagick              8:6.6.0.4-3      Perl interface to the ImageMagick 
pn  po4a                    <none>           (no description available)
pn  polygen                 <none>           (no description available)
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
pn  python-docutils         <none>           (no description available)
pn  texlive                 <none>           (no description available)
pn  tidy                    <none>           (no description available)
pn  viewvc | gitweb | viewc <none>           (no description available)
ii  xapian-omega            1.2.3-1+squeeze1 CGI search interface and indexers 

-- no debconf information

---- 8< ---- >8 ----
From a3041e786fe9e09110218e83e996fe688f8376ea Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepan...@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
---
 .../ikiwiki/openid/openid-jquery.js                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js 
b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
index c59be1e..0561103 100644
--- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
+++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
@@ -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/'
     },
-- 
1.7.9

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to