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

Escape invalid characters in a cookie

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.5-RC3
    • None
    • wicket

    Description

      The proposed patch adds methods to CookieUtils to escape and un-escape a string for invalid cookie characters.

      These methods should perhaps systematically be called when using the other CookieUtils methods. However, this could potentially break cookies existing prior to that change. On the other hand, CookieUtils has only just been added in wicket 1.5 so maybe this isn't a problem.

      Attachments

        1. cookies.patch
          2 kB
          Bertrand Guay-Paquet

        Activity

          People

            Unassigned Unassigned
            berniegp Bertrand Guay-Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: