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

2 messages from 2011-02-19 to 2011-02-19. Participants: Jesse Wilson, Shawn Pearce.
Thread: https://gitlist.dev/t/26554

## Jesse Wilson, 2011-02-19 01:12

Subject: Gitweb complains "404 - No such project" when following links from Gmail
Message-ID: <AANLkTinuPsWnaSAhmL3b0Bf3FWUEByRE50j+qD_ov0Qi@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinuPsWnaSAhmL3b0Bf3FWUEByRE50j%2BqD_ov0Qi%40mail.gmail.com

```
Gitweb experts,

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.

Any ideas? I couldn't find the bug tracker for gitweb.

Thanks,
Jesse

```

## Shawn Pearce, 2011-02-19 01:18

Subject: Re: Gitweb complains "404 - No such project" when following links from Gmail
Message-ID: <AANLkTim4=vKvNeGLhXzW9Z9eSQ50OriBN7=oqf5_AUnb@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTim4%3DvKvNeGLhXzW9Z9eSQ50OriBN7%3Doqf5_AUnb%40mail.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:
> 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.

```
