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

Bug 370878

Summary: [sites] Location header not set correctly
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: 0.4 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-02-07 14:58:01 EST
If you POST http://[self_hosted_site/file (note the lack of trailing '/') the returned response has this:

> Location: http://[self_hosted)site]/filewhatever.txt

This is wrong. It's missing a slash.
Comment 1 Mark Macdonald CLA 2012-02-07 15:45:25 EST
Correction: you can only observe this bug when you alter your self-hosting config as follows:

change
 http://localhost:8080/file          /file

eg.
 http://localhost:8080/file/         /file

This is causing a problem with the tests I am writing
Comment 2 Mark Macdonald CLA 2012-02-07 15:45:47 EST
Marked fixed by accident. Reopen.