keycloak/keycloak

Special characters in Realm name breaks the application

Chiusa

#46.039 aperta il 5 feb 2026

 (3 commenti) (1 reazione) (0 assegnatari)Java (8346 fork)batch import
area/account/uihelp wantedkind/bugpriority/normalstatus/auto-bumpstatus/auto-expireteam/core-clientsteam/core-shared

Metriche repository

Star
 (34.398 stelle)
Metriche merge PR
 (Merge medio 6g 19h) (384 PR mergiate in 30 g)

Descrizione

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

account/ui

Describe the bug

Steps to reproduce:

Create a realm name with special characters ("%", "^"). Keycloak currently allows creation of realm with these characters. Once after successful creation - Please Navigate to "Realm settings" menu and update any realm settings value and "Save". Please find the attached video for reference. Once after "Saving", It breaks the application and unable to access

Version

26.5.1

Regression

  • The issue is a regression

Expected behavior

Keycloak Should not allow creation of realm with these special characters ("%", "^")

Actual behavior

Special characters in Realm name breaks the application

How to Reproduce?

Create a realm name with special characters ("%", "^"). Keycloak currently allows creation of realm with these characters. Once after successful creation - Please Navigate to "Realm settings" menu and update any realm settings value and "Save". Please find the attached video for reference. Once after "Saving", It breaks the application and unable to access

Anything else?

No response

Guida contributor