Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8325

NullPointerException in IsLocaleValid when requesting an URL containing 2 underscores

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 6.2.17
    • None
    • None

      Steps to reproduce

      1. Call an URL containing 2 underscores separated by at least one char like for example https://demo.magnolia-cms.com/a_b_.js

      .. Logs, screenshots, gifs...

      Expected results

      No null pointer but 404 or the given resource.

      Actual results

      NullPointerException in IsLocaleValid.java

      Workaround

      Rename Assets or pages to not contain the scheme

      _.*_
      

      Development notes

        Acceptance criteria

              Unassigned Unassigned
              rruder Robin Ruder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD