Re: [PATCH] gitweb: Fix escaping HTML of project owner in 'projects_list' and 'summary' views

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/28/07, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
> > I tried adding an email address to hometext.html yesterday, I got the
> > same XML errors caused by the <> that I received in the project owner
> > field.
>
> Be it HTML or XHTML fragment, you have to escape '<' and '>' yourself,
> by using '&lt;' and '&rt;' entities; if we HTML-escaped contents of
> hometext.html (BTW. the filename depends on build time configuration)
> we could not put for example links there...

I added the escapes, I'm just getting confused about when I need to
escape and not escape in gitweb. It is not consistent everywhere. The
patch in this thread should help straighten things out.

>
> --
> Jakub Narebski
> Poland
>


-- 
Jon Smirl
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux