uncaught IllegalArgumentException

Splash Forums PrettyFaces Users uncaught IllegalArgumentException

This topic contains 2 replies, has 2 voices, and was last updated by  JonH 6 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17872

    JonH
    Participant

    If I pass garbage on a url eg

    http://jon-mbpro.local:8080/testapp/jontest.jsf?foo=%=

    http://jon-mbpro.local:8080/testapp/jontest?foo=%=

    java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern

    java.net.URLDecoder.decode(URLDecoder.java:168)

    com.ocpsoft.pretty.faces.url.QueryString.addParameters(QueryString.java:245)

    com.ocpsoft.pretty.faces.url.QueryString.build(QueryString.java:71)

    com.ocpsoft.pretty.PrettyContext.<init>(PrettyContext.java:91)

    com.ocpsoft.pretty.PrettyContext.newDetachedInstance(PrettyContext.java:174)

    com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:69)

    Is this intentional or should it be caught?

    This is with prettyfaces-jsf2-3.2.0.jar

    Thx,

    Jon

    #20685

    Hey Jon,

    thank you for reporting this. I think this exception should definitively be caught. Could you open a ticket for this?

    http://code.google.com/p/prettyfaces/issues/list

    Christian

    #20686

    JonH
    Participant

    Done. Thx.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Comments are closed.