Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.10, 2.6.8, 2.7.5
-
None
-
None
-
Unknown
Description
URI uri = new URI("http://foo/bar/baz;m1=m1value");
URI newUri = new UriBuilderImpl(uri).replacePath("httppnewpath").build();
assertEquals("URI is not built correctly", "http://foo/httppnewpath", newUri.toString());
Should pass, but results in:
FAILURE!
org.junit.ComparisonFailure: URI is not built correctly expected:<http://foo/httppnewpath> but was:<http:[]httppnewpath>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.cxf.jaxrs.impl.UriBuilderImplTest.testReplacePathHttpString(UriBuilderImplTest.java:537)
Attachments
Attachments
Issue Links
- is depended upon by
-
TOMEE-982 JAXRS @ApplicationPath deployment fails if path starts with http and is not a URL
- Closed