Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M metasearch
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • project
  • metasearch
  • Issues
  • #4
Closed
Open
Issue created Oct 30, 2022 by Jesper Zedlitz@jzedlitzOwner

Locale part contains invalid characters

Im Logfile gibt es immer wieder Einträge der Form

[http-nio-8080-exec-324] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: Locale part "en'" contains invalid characters] with root cause
 java.lang.IllegalArgumentException: Locale part "en'" contains invalid characters
   at org.springframework.util.StringUtils.validateLocalePart(StringUtils.java:902)
   at org.springframework.util.StringUtils.parseLocale(StringUtils.java:839)
   at org.springframework.web.servlet.i18n.LocaleChangeInterceptor.parseLocaleValue(LocaleChangeInterceptor.java:195)
   at org.springframework.web.servlet.i18n.LocaleChangeInterceptor.preHandle(LocaleChangeInterceptor.java:154)

Reproduzieren lässt sich der Fehler:

curl http://localhost:8080?lang=en/
Assignee
Assign to
Time tracking

Impressum | Datenschutz