git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Gitweb complains "404 - No such project" when following links from Gmail
@ 2011-02-19  1:12 Jesse Wilson
  2011-02-19  1:18 ` Shawn Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Wilson @ 2011-02-19  1:12 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gitweb complains "404 - No such project" when following links from Gmail
  2011-02-19  1:12 Gitweb complains "404 - No such project" when following links from Gmail Jesse Wilson
@ 2011-02-19  1:18 ` Shawn Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Pearce @ 2011-02-19  1:18 UTC (permalink / raw)
  To: Jesse Wilson; +Cc: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-19  1:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19  1:12 Gitweb complains "404 - No such project" when following links from Gmail Jesse Wilson
2011-02-19  1:18 ` Shawn Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).