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

Re: Gitweb complains "404 - No such project" when following links from Gmail

From
Shawn Pearce <spearce@spearce.org>
Date
Feb 19, 2011, 01:18 UTC
Message-ID
<AANLkTim4=vKvNeGLhXzW9Z9eSQ50OriBN7=oqf5_AUnb@mail.gmail.com>
In-Reply-To
<AANLkTinuPsWnaSAhmL3b0Bf3FWUEByRE50j+qD_ov0Qi@mail.gmail.com>
On Fri, Feb 18, 2011 at 17:12, Jesse Wilson <jessewilson@google.com> wrote:
Show 11 quoted lines
> I've seen the following error on all git web deployments I've tried,
> including the Linux Kernel and Android:
>
>    /android/git /
>   404 - No such project
>
> Reproduce this by following this this link from the Gmail web app:
> http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/hardware/SensorManager.java
>
> Pasting the same link into a browser's address bar yields a valid
> page. Even reloading it yields a valid page.

I think the issue is Gmail encodes the ";" as %3B. This confuses gitweb. IMHO, its a bug in Gmail, Gmail shouldn't be encoding ; as %3B when it creates the anchor.

-- 
Shawn.
Previous: Jesse Wilson
Message 2 of 2 in “Gitweb complains "404 - No such project" when following links from Gmail”
  1. Jesse WilsonFeb 19, 2011
  2. Shawn PearceFeb 19, 2011

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.