-
Notifications
You must be signed in to change notification settings - Fork 34
/country/add: deny "add" and "list" as country names #510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I suggest to add validator @DenyValues({"add", "list"})
private String name; |
@n583wxdh0j Are you still working on this issue? If not, let me know and I'll reassign this issue to someone else. BTW validator is mostly implemented as part of #509 that will be merged soon. |
Give me a week. |
Ok, no problem, thanks for letting me know! Just to reminder that validator has been already implemented, so the fix will be about 3-4 lines of code (plus you should copy&paste existing test)! |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
Expected result:
Actual result:
/country/add
(or/country/list
) pageThe text was updated successfully, but these errors were encountered: