Reply To: Exception with Curly braces in URL parameters

Splash Forums PrettyFaces Users Exception with Curly braces in URL parameters Reply To: Exception with Curly braces in URL parameters

#27391

deepak
Participant

Thanks, yes, that has been on our list of things to do for a while now. Since it is not a trivial task on our side to migrate, would it be possible to have a fix for this in a maintenance release?

The fix is pretty simple:

prettyfaces$ git diff
diff –git a/core/src/main/java/com/ocpsoft/pretty/faces/url/URL.java b/core/src/
index 15bac70..33f5390 100644
— a/core/src/main/java/com/ocpsoft/pretty/faces/url/URL.java
+++ b/core/src/main/java/com/ocpsoft/pretty/faces/url/URL.java
@@ -161,6 +161,8 @@ public class URL
.replace(“<“, “%3C”)
.replace(“>”, “%3E”)
.replace(“|”, “%7C”)
+ .replace(“{“, “%7B”)
+ .replace(“}”, “%7D”)
);