Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.0-m5
-
Component/s: Raw, Repository
-
Labels:None
-
Story Points:1
-
Sprint:Sprint 44
Description
Acceptance Criteria
Whenever a request ending in slash would otherwise 404, Nexus will check each of the pages, in the order provided.
This only affects raw hosted repositories. (Proxies can rely on the 'default page' handling of the remote repository.)
RATIONALE
Deploy a site with an index.html to a hosted raw repo e.g. with the Maven site deployment from https://github.com/sonatype/nexus-book-examples/tree/nexus-3.0.x/maven/simple-project
Then navigating to the URL of the repo you see a 400 error in the Nexus UI
http://localhost:8081/repository/site/
Even though http://localhost:8081/repository/site/index.html renders the site in HTML.
Note:
- Make sure we have a longer term plan for how we handle index.html and directory root/etc...