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

Re: [PATCH] gitweb: Add support for gravatar-ssl

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Aug 9, 2012, 19:36 UTC
Message-ID
<20120809193655.7418D13F8069@mailgw.unict.it>
In-Reply-To
<20120809184210.GA27795@goeswhere.com>
Chris West (Faux) wrote:
Show 7 quoted lines
> Teach gitweb to allow 'avatar' to be set to 'gravatar-ssl', switching
> to the https://secure.gravatar.com url form, to avoid mixed content
> warnings when serving gitweb over https, with gravatar enabled.
> ---
> I'd alternatively propose always using the https:// form of the URL,
> but it seems significantly slower, so it's probably best to let people
> pick to continue using the insecure version.

Rather than introducing a new, separate setting, wouldn't it be better to have the gravatar URL be automatically decided based on the current gitweb URL? (use the ssl gravar url when the current protocol is https, and the standard http url otherwise)

Previous: Chris West (Faux)Next: git@goeswhere.com
Message 2 of 3 in “gitweb: Add support for gravatar-ssl”
  1. gitweb: Add support for gravatar-sslChris West (Faux), Aug 9, 2012
  2. Giuseppe BilottaAug 9, 2012
  3. git@goeswhere.comAug 9, 2012

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.