Skip to content

PagesServlet cannot enter in directories with an extension #708

Description

@gitblit

Originally reported on Google Code with ID 412

CONTEXT:
release: 1.5.0
Jetty/GO deployment

TESTCASE:
1. Create a gh-pages branches in a git repository
2. create/commit/push a directory named : 1.0-SNAPSHOT/ with files in it.
3. clic on pages, you see 1.0-SNAPSHOT in an simple file list
4. clic on it, you have a 404.

EXPECTED:
access to the content of 1.0-SNAPSHOT directory

INDICATION:
in directory file list construction (PagesServlet), browse directory request is detected
only if the directory has no extenstion.
The detection should be done if the entry is an effective TREE entry (JGitUtils new
function for simple testing purpose ?)

Reported by olivier.rouits on 2014-04-23 15:05:24

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions