Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370878 - [sites] Location header not set correctly
Summary: [sites] Location header not set correctly
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 RC1   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 14:58 EST by Mark Macdonald CLA
Modified: 2012-02-07 16:50 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.