Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Invalid SQL RuntimeException #382

Open
tomasantunes opened this issue Dec 4, 2023 · 1 comment
Open

Invalid SQL RuntimeException #382

tomasantunes opened this issue Dec 4, 2023 · 1 comment

Comments

@tomasantunes
Copy link

When I insert a semi-colon on the email field I get an Invalid SQL error on oauth2-user:2.0.28. This happened when a user tried to register with two emails separated by a semi-colon. The expected behaviour would be to validate the email.

11:27:32.026 [XNIO-1 task-1]  HXFj-gcrRCmHauoes_75ZQ ERROR c.n.exception.ExceptionHandler handleRequest - Exception:
java.lang.RuntimeException: Invalid SQL: [email = [email protected]; [email protected]]
@stevehu
Copy link
Contributor

stevehu commented Dec 4, 2023

This is an issue. I will add a validation in the handler. Thanks a lot for raising it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants