threads / discuss / 7035

gitweb not friendly to firefox?

Subject: gitweb not friendly to firefox?

## tl;dr

5 messages between Mar 1, 2007 and Mar 1, 2007.

replies: 4people: 4as markdown or json

Li Yang-r58472· Mar 1, 2007, 10:57 UTC · lore
Hi,

I'm using gitweb from latest git tree. I can't view any objects with my firefox browser, but it works ok with my IE. The error is like this:

XML Parsing Error: not well-formed Location: http://10.193.20.133/gitweb/?p=linux-2.6.git;a=commit;h=c0051ec763eca4c1 adfcb8d461243d0a7b444bb7 Line Number 43, Column 38:<tr><td>author</td><td>Li Yang <LeoLi@freescale.com></td></tr> -------------------------------------^

Would it be anything wrong with my gitweb configuration or apache setup?

Thanks, Leo

Andy Parkins· Mar 1, 2007, 11:34 UTC · re: Li Yang-r58472 · lore

Re: gitweb not friendly to firefox?

On Thursday 2007 March 01 10:57, Li Yang-r58472 wrote:
Show 10 quoted lines
> XML Parsing Error: not well-formed
> Location:
> http://10.193.20.133/gitweb/?p=linux-2.6.git;a=commit;h=c0051ec763eca4c1
> adfcb8d461243d0a7b444bb7
> Line Number 43, Column 38:<tr><td>author</td><td>Li Yang
> <LeoLi@freescale.com></td></tr>
> -------------------------------------^
>
>
> Would it be anything wrong with my gitweb configuration or apache setup?
When I've had errors like that in the past it has been because:
 a) Firefox installation corrupt; try running with a new profile 
    (firefox -ProfileManager)
 b) Firefox has been upgraded but you haven't restarted it since.
 c) An extension is incompatible with your current version, but doesn't know 
    it
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Li Yang-r58472· Mar 1, 2007, 11:54 UTC · re: Andy Parkins · lore

RE: gitweb not friendly to firefox?

Show 12 quoted lines
> -----Original Message-----
> From: Andy Parkins [mailto:andyparkins@gmail.com]
> Sent: Thursday, March 01, 2007 7:34 PM
> To: git@vger.kernel.org
> Cc: Li Yang-r58472
> Subject: Re: gitweb not friendly to firefox?
> 
> On Thursday 2007 March 01 10:57, Li Yang-r58472 wrote:
> 
> > XML Parsing Error: not well-formed
> > Location:
> >
http://10.193.20.133/gitweb/?p=linux-2.6.git;a=commit;h=c0051ec763eca4c1
Show 7 quoted lines
> > adfcb8d461243d0a7b444bb7
> > Line Number 43, Column 38:<tr><td>author</td><td>Li Yang
> > <LeoLi@freescale.com></td></tr>
> > -------------------------------------^
> >
> >
> > Would it be anything wrong with my gitweb configuration or apache
setup?
> 
> When I've had errors like that in the past it has been because:
>  a) Firefox installation corrupt; try running with a new profile
>     (firefox -ProfileManager)
I have reinstalled my firefox and updated to 2.0.0.2
>  b) Firefox has been upgraded but you haven't restarted it since.
It is restarted.
>  c) An extension is incompatible with your current version, but
doesn't know
>     it
I have disabled all the add-ons
And the problem still exists.  :(
- Leo
Junio C Hamano· Mar 1, 2007, 11:56 UTC · re: Andy Parkins · lore

Re: gitweb not friendly to firefox?

Andy Parkins <andyparkins@gmail.com> writes:
Show 19 quoted lines
> On Thursday 2007 March 01 10:57, Li Yang-r58472 wrote:
>
>> XML Parsing Error: not well-formed
>> Location:
>> http://10.193.20.133/gitweb/?p=linux-2.6.git;a=commit;h=c0051ec763eca4c1
>> adfcb8d461243d0a7b444bb7
>> Line Number 43, Column 38:<tr><td>author</td><td>Li Yang
>> <LeoLi@freescale.com></td></tr>
>> -------------------------------------^
>>
>>
>> Would it be anything wrong with my gitweb configuration or apache setup?
>
> When I've had errors like that in the past it has been because:
>  a) Firefox installation corrupt; try running with a new profile 
>     (firefox -ProfileManager)
>  b) Firefox has been upgraded but you haven't restarted it since.
>  c) An extension is incompatible with your current version, but doesn't know 
>     it
I've seen another one.
d) gitweb does not like your name (your name is not encoded in
   UTF-8 while gitweb incorrectly assumes it is), and spits out
   malformed output.
Raimund Bauer· Mar 1, 2007, 13:34 UTC · re: Li Yang-r58472 · lore

RE: gitweb not friendly to firefox?

> XML Parsing Error: not well-formed
> Location: 
>

http://10.193.20.133/gitweb/?p=linux-2.6.git;a=commit;h=c0051ec763eca4c1adfc b8d461243d0a7b444bb7

> Line Number 43, Column 38:<tr><td>author</td><td>Li Yang
<LeoLi@freescale.com></td></tr> -------------------------------------^

Try to save the output and verify it with some other xml-parser. The "<LeoLi@freescale.com>" seems to be the culprit here, since "@" is no allowed character for a xml-tag, and there maybe is some html-escaping of the email address missing?

> Would it be anything wrong with my gitweb configuration or apache setup?
I think IE just chooses to ignore the error.
> Thanks,
> Leo
-- 
best regards

  Ray

← back to recent threads