Permalink
Browse files

587

git-svn-id: file:///Users/billburke/jboss/resteasy/resteasy-git/svn-server-sync/resteasy/trunk/jaxrs@1438 2b1ed4c4-5db3-0410-90e4-80a7a6204c25
  • Loading branch information...
1 parent 942b7d7 commit 3468a2868575536256b9187bffcf9f8332a0ad86 patriot1burke committed Sep 15, 2011
@@ -460,7 +460,7 @@ protected StringBuffer replaceParameter(Map<String, ? extends Object> paramMap,
{
value = Encode.encodePathSaveEncodings(value);
}
- matcher.appendReplacement(buffer, value);
+ matcher.appendReplacement(buffer, Matcher.quoteReplacement(value));
}
else
{
@@ -27,6 +27,12 @@ public static void before()
}
@Test
+ public void test587() throws Exception
+ {
+ System.out.println(UriBuilder.fromPath("/{p}").build("$a"));
+ }
+
+ @Test
public void test443() throws Exception
{
// test for RESTEASY-443

0 comments on commit 3468a28

Please sign in to comment.