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.