1234- / gitblit

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

Images cannot be seen on branches #517

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have a Git repo with image files
2. branch it
3. navigate to the image file in the branch

What is the expected output? What do you see instead?
For the head I can see the image shown as the content of the file.
For the branch the server just sends back this string instead of the image data:

<h1>Error</h1><p>Sorry, the requested resource 
<strong>/documentation/docs/images/blah.png</strong> was not found in 
<strong>johndoe/documentation</strong>.</p>

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

Original issue reported on code.google.com by bpa...@gmail.com on 22 Oct 2014 at 6:13

GoogleCodeExporter commented 9 years ago
Oh, and the server log is:

RawServlet Failed to load reponame 65cf9edef95f7b7a082094ab3226d4deeba08b93 
reponame/johndoe!documentation/documentation!docs!images!blah.png

Original comment by bpa...@gmail.com on 22 Oct 2014 at 6:17

GoogleCodeExporter commented 9 years ago
Go or WAR?
Are you navigating using the "tree" links with the full UI or are you 
navigating the "raw" links?

Original comment by James.Mo...@gmail.com on 22 Oct 2014 at 6:54

GoogleCodeExporter commented 9 years ago
It's Go. And I'm navigating with the full UI, however I can see that at the end 
it's the "raw" link that does not work...

Original comment by bpa...@gmail.com on 22 Oct 2014 at 7:00

GoogleCodeExporter commented 9 years ago
Oh, and where I detected all this was when I added an image to a Markdown file 
and wanted to see it parsed: the image was not loading.

Original comment by bpa...@gmail.com on 22 Oct 2014 at 7:02

GoogleCodeExporter commented 9 years ago
I can't reproduce this.  Feel like creating a small example repo and attaching?

Original comment by James.Mo...@gmail.com on 22 Oct 2014 at 7:14

GoogleCodeExporter commented 9 years ago
I would, just have to finish up my documentation job first (currently my boss 
doesn't really care about if the docs can be displayed in Gitblit, but I'd like 
to push the thing ;-))

Original comment by bpa...@gmail.com on 23 Oct 2014 at 1:22