Bug#619617: gitweb: 1:1.7.4.1-5

2011-03-25 Thread Francis Russell
Package: gitweb
Version: gitweb produces invalid XHTML
Severity: important


It seems that to web browsers that support it, gitweb will serve an
XHTML version of the interface. The currently served version includes
the entity nbsp; which is invalid in XHTML.

In the version of Firefox in Ubuntu, but possible other browsers/OSes,
this will cause a complete refusal to render the page. This makes gitweb
entirely unusable from these systems (which is why I marked the bug
as important).

I suspect this coincided with the migration of 1:1.7.4.1-3 into testing,
as I did not see this issue until very recently.

Francis


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.1 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#619617: gitweb: 1:1.7.4.1-5

2011-03-25 Thread Anders Kaseorg
On Fri, 25 Mar 2011, Francis Russell wrote:
 The currently served version includes the entity nbsp; which is 
 invalid in XHTML.
 
 In the version of Firefox in Ubuntu, but possible other browsers/OSes,
 this will cause a complete refusal to render the page.

Actually, nbsp; is totally valid XHTML:
  http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Latin-1_characters
Firefox _only_ has a problem with it if you’ve just updated Firefox 
without restarting it.  The problem will go away when you restart Firefox.

This also explains why you haven’t seen the issue until recently, even 
though Gitweb has generated nbsp; over XHTML since the ancient days 
(v1.4.2-rc1~35).

Anders



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#619617: gitweb: 1:1.7.4.1-5

2011-03-25 Thread Francis Russell

On Fri, 25 Mar 2011 14:36:02 -0400 (EDT), Anders Kaseorg wrote:

Actually, nbsp; is totally valid XHTML:

  http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Latin-1_characters
Firefox _only_ has a problem with it if you’ve just updated Firefox
without restarting it.  The problem will go away when you restart 
Firefox.


Thanks. Guess that serves me right for googling for the issue instead 
of actually locating the XHTML specification.


Francis



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org