Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4019

Portlet Support 1.5

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Later
    • 1.5-RC7
    • None
    • wicket
    • None

    Description

      Url returned by the RequestMapper does not seem to be properly rendered, as it does not encode question mark character in the Url parameter value (I haven't checked the w3c spec, but at least Liferay Portal seems to require it to be encoded)

      The reason is this definition in the UrlEncoder:
      case QUERY :
      // to allow direct passing of URL in query
      dontNeedEncoding.set('/');
      // to allow direct passing of URL in query
      dontNeedEncoding.set('?');

      Currently URL "http://host/file?param=a?b" would be encoded as "http://host/file?param=a?b", instead of "http://host/file?param=a%3Fb"

      Attachments

        1. wicket-portlet-1.5.RC7.zip
          29 kB
          Peter Pastrnak
        2. wicket-portlet-1.5.0.zip
          29 kB
          Peter Pastrnak
        3. wicket-portlet-1.5.1.zip
          110 kB
          Peter Pastrnak
        4. ResponseState.java
          18 kB
          Ronny Pscheidl
        5. Wicket - Portlet.htm
          46 kB
          Ronny Pscheidl
        6. ASF.LICENSE.NOT.GRANTED--with bind(this).jpg
          59 kB
          Ronny Pscheidl
        7. ASF.LICENSE.NOT.GRANTED--without bind(this).jpg
          63 kB
          Ronny Pscheidl
        8. wicket-portlet-1.5.1.1.zip
          111 kB
          Peter Pastrnak
        9. wicket-portlet-1.5.1.2.zip
          111 kB
          Peter Pastrnak
        10. wicket-portlet-1.5.1.3.zip
          111 kB
          Peter Pastrnak
        11. PortletServletRequestWrapper.java
          8 kB
          Ronny Pscheidl
        12. wicket-portlet-1.5.1.4.zip
          114 kB
          Peter Pastrnak
        13. wicket-portlet-1.5.1.5.zip
          32 kB
          Peter Pastrnak
        14. wicket-portlet-1.5.2.zip
          33 kB
          Peter Pastrnak
        15. wicket-1.5.2.1.zip
          42 kB
          Peter Pastrnak
        16. wicket-portlet-1.5.2.2.zip
          41 kB
          Peter Pastrnak
        17. wicket-portlet-1.5.2.4.zip
          33 kB
          Peter Pastrnak
        18. wicket-portlet-1.5.5.0.zip
          33 kB
          Peter Pastrnak
        19. wicket-portlet-1.5.5.1.zip
          33 kB
          Peter Pastrnak
        20. wicket-portlet-1.5.7.1.zip
          32 kB
          Peter Pastrnak
        21. wicket-portlet-1.5.7.2.zip
          33 kB
          Peter Pastrnak

        Activity

          People

            Unassigned Unassigned
            pasto Peter Pastrnak
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: