Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1806

Error 500 If cookies taked in cyrillic characters or with ASCII - code less then 32.

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.5 Larks
    • Fix Version/s: 2.6 Larks
    • Labels:
      None
    • Environment:

      Win 7, yandex.chrome v.24, JCommune 2.5.2032.2612309

    • Sprint:
      2.6 Larks

      Description

      There is error 500 if cookies include cyrillic characters or with ASCII - code less then 32, such as ♥

      Affected cookies:
      JSESSIONID
      org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE
      SPRING_SECURITY_REMEMBER_ME_COOKIE

      Pre-condition

      1. User is logged in JCommune

      Steps to reproduce

      1. Edit cookie (via cookie manager add-on for FF or "Edit This Cookie" for Chrome), using 1 or more cyrillic characters or with ASKII - code less then 32.
      2. Refresh page
        AR: Error 500, and forum doesn't open until cookies are deleted or re-edited.
        ER: Redirect to main page

      Note: for editing "SPRING_SECURITY_REMEMBER_ME_COOKIE" it should be "Remember me" checked when user signs up.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  julik Julia Atlygina
                  Reporter:
                  Keiran Keiran
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel