git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: safely output binary files for 'blob_plain' action

From
Petr Baudis <pasky@suse.cz>
Date
Jun 17, 2006, 15:35 UTC
Message-ID
<20060617153540.GI2609@pasky.or.cz>
In-Reply-To
<200606171332.15591.jnareb@gmail.com>

Dear diary, on Sat, Jun 17, 2006 at 01:32:15PM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...

> Introduced new configuration variables: $default_blob_plain_mimetype 
> and $default_text_plain_charset (only 'utf-8' is guaranteed to work
> for the latter).

Nah, defaulting to 'utf-8' is horrible - usually, you just don't have a clue and should refrain from sending any charset information at all, so I think undef is a much saner default.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.
Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 6 in “gitweb: safely output binary files for 'blob_plain' action”
  1. gitweb: safely output binary files for 'blob_plain' actionJakub Narebski, Jun 17, 2006
  2. Petr BaudisJun 17, 2006
  3. gitweb: text files for 'blob_plain' action without charset by defaultJakub Narebski, Jun 17, 2006
  4. Junio C HamanoJun 17, 2006
  5. Petr BaudisJun 17, 2006
  6. Junio C HamanoJun 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.