Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335749

Summary: http Directory service fails
Product: [ECD] Orion Reporter: John J. Barton <johnjbarton>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John J. Barton CLA 2011-01-28 19:56:10 EST
1. http://localhost:8080/file/org.eclipse.orion.client.core
2. click on link <static>
Expected: the contents of ...core/static
Actual: fail, 403 forbidden and URL is
http://localhost:8080/file/static/

0.2 nightly 1.26
Comment 1 John Arthorne CLA 2011-02-01 15:51:15 EST
I see. The problem is the URl should be (note the trailing slash):

http://localhost:8080/file/org.eclipse.orion.client.core/

However we have a filter that redirects all directories to index.html
Comment 2 John Arthorne CLA 2011-02-01 17:25:20 EST
Pushed a fix:

 - WelcomeFileFilter no longer messes with paths within our servlets (this filter redirects directory listings to index.html
 - Ensure file API lists directory URLs with a trailing slash, which is correct form for a URL (http://example.com/a is a file, http://example.com/a/ is a directory).