[Bug 557430] New: osc 'api' incorrectly adds trailing '/'