Re: [PATCH 1/3] gitweb: Fix an ancient typo in v1.7.7-rc1-1-g0866786
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- Sep 21, 2016, 13:33 UTC
- Message-ID
- <d047a76d-8f13-5c90-3946-6821957d9278@gmail.com>
- In-Reply-To
- <20160921114428.28664-1-avarab@gmail.com>
W dniu 21.09.2016 o 13:44, Ævar Arnfjörð Bjarmason napisał:
> Subject: [PATCH 1/3] gitweb: Fix an ancient typo in v1.7.7-rc1-1-g0866786
It is more "ancient typo from v1.7.7-rc1-1-g0866786", but perhaps more important is "ancient typo in a comment"
> > The Content-Type is application/xhtml+xml, not application/xhtm+xml.
Right. Thanks for the patch.
Signoff?
Show 14 quoted lines
> ---
> gitweb/gitweb.perl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
> index 33d701d..9473daf 100755
> --- a/gitweb/gitweb.perl
> +++ b/gitweb/gitweb.perl
> @@ -1616,7 +1616,7 @@ sub esc_path {
> return $str;
> }
>
> -# Sanitize for use in XHTML + application/xml+xhtm (valid XML 1.0)
> +# Sanitize for use in XHTML + application/xml+xhtml (valid XML 1.0)Nb. I wonder how common is use of XHTML nowadays, with HTML5 as standard...
> sub sanitize {
> my $str = shift;
>
>