users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] UriBuilder and duplicate "/"

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 12 Sep 2013 11:55:55 +0100

Hi

What the correct output from

UriBuilder.fromUri("http://host/path1/").path("/path2")

is it

(1) http://host/path1/path2

or

(2) http://host/path1//path2

Apache CXF will produce (1), I'm seeing (2) expected by one of the TCK
tests.

Thanks, Sergey