Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.10
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      < 2.5.11 calling empty locale ?request_locale= results in locale en

      In 2.5.11 calling empty locale ?request_locale= results in locale object (not null) with property languageTag set to null and as language == empty

      NB: it is also interesting to see the different behaviours for

      wget --header="Accept-Language: fff" --no-check-certificate https://localhost:8443/myProject/path
      
      "Accept-Language: ff" => Fula language
      "Accept-Language: fff" => empty locale
      "Accept-Language: ffff" => exception thrown
      

      This seems to be the standard behaviour of Locale though.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              flyingfischer Markus Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: