[MRM-725] make path handling compliant with the specification. This corrects a problem on websphere Submitted by: Steffen Grunwald Merged from: r642827