davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Duplicated issues in Web Project Summary #454

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are currently using version 1.3.2 at git.centos.org

What steps will reproduce the problem?

1.  Normal operation, look at the right hand window for our RPMS Project here:

https://git.centos.org/project/rpms

What is the expected output? What do you see instead?

Only one entry for each Repo .. we get duplicate entries for rpms/REPO and 
rpms//REPO and rpms/REPO.git. All are the same repo when clicked.

When the cache is cleared, all the duplicate entries disappear.

What version of the product are you using? On what operating system?

Version 1.3.2 on CentOS-6.5

Original issue reported on code.google.com by johnny.r...@gmail.com on 27 Jun 2014 at 6:39

GoogleCodeExporter commented 9 years ago
I'll get this fixed for 1.6.1.

Original comment by James.Mo...@gmail.com on 27 Jun 2014 at 6:43

GoogleCodeExporter commented 9 years ago
I find the leading duplicate slashes intriguing.  Is there a possibility a push 
is coming in with multiple slashes in the url?

Original comment by James.Mo...@gmail.com on 27 Jun 2014 at 10:00

GoogleCodeExporter commented 9 years ago
I pushed a change to master (1.6 stable) which should eliminate the 
duplication.... but I am still not sure how the duplication is being triggered.

Original comment by James.Mo...@gmail.com on 28 Jun 2014 at 3:15

GoogleCodeExporter commented 9 years ago
I think all it takes to get the extra /'s is just to browse the site that way, 
then it goes to cache.  The browsers ignore it, but the cache does not.

Original comment by johnny.r...@gmail.com on 1 Jul 2014 at 5:11

GoogleCodeExporter commented 9 years ago
If you can, it would be great if you can build & test.  If you can't build then 
I can send you a GO build.

Original comment by James.Mo...@gmail.com on 1 Jul 2014 at 5:12

GoogleCodeExporter commented 9 years ago
As an example, https://git.centos.org/summary/?r=rpms/docker .. if someone puts 
in extra slashes either before the rpms or between rpms and docker, it creates 
a new entry in the cache.

I will get with KB and see if we can test. 

Original comment by johnny.r...@gmail.com on 1 Jul 2014 at 5:25

GoogleCodeExporter commented 9 years ago
v1.6.1 released

Original comment by James.Mo...@gmail.com on 20 Oct 2014 at 9:36