-
Notifications
You must be signed in to change notification settings - Fork 48
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
implementing suggestions from Egis audit review #960
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A dash -
is not an alphanumeric character.
Thus, let's rename the isAlphanumericWithSpaces
function to isAllowedCharacter
.
Will rename it. I agree with your point but couldn't think of a good name. Will go with |
287c9b2
to
00236fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good now, great job
Let's wait for @andreivladbrg's review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* refactor: index admin in AllowToHook event * feat: include dash in alphanumeric check * build: update precompiles * docs: update natspec * refactor: rename isAlphanumericWithSpaces to IsAllowedCharacter * test: fixes --------- Co-authored-by: Paul Razvan Berg <prberg@proton.me>
* refactor: index admin in AllowToHook event * feat: include dash in alphanumeric check * build: update precompiles * docs: update natspec * refactor: rename isAlphanumericWithSpaces to IsAllowedCharacter * test: fixes --------- Co-authored-by: Paul Razvan Berg <prberg@proton.me>
Changelog
admin
inAllowToHook
event.@andreivladbrg and @PaulRBerg tagging you for feedback on the above changes.