Skip to content

FIX Replacing usage of getJavaClass().getSimpleName() with schema..getSimpleName() to bypass Thymleaf's sandbox security#69

Open
SaeedSomething wants to merge 1 commit intoaileftech:mainfrom
SaeedSomething:SaeedSomething/issue68
Open

FIX Replacing usage of getJavaClass().getSimpleName() with schema..getSimpleName() to bypass Thymleaf's sandbox security#69
SaeedSomething wants to merge 1 commit intoaileftech:mainfrom
SaeedSomething:SaeedSomething/issue68

Conversation

@SaeedSomething
Copy link

@SaeedSomething SaeedSomething commented Feb 4, 2026

Thymleafdoens't allow to call JavaClass methods and we just call beans' methods. So for the sake of keeping stuff somewhat similar I replaced usage of getJavaClass().getSimpleName() with schema..getSimpleName() to bypass Thymleaf's sandbox security

…tSimpleName() to bypass Thymleaf's sandbox security
@SaeedSomething SaeedSomething marked this pull request as ready for review February 4, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant