Closed andreivladbrg closed 1 week ago
Separately, I opened feature requests in OpenZeppelin and Solady for implementing alphanumeric check functions:
Should we allow -
as well?
From Egis audit report:
Consider adding - (2D) as supported char in for token sybmol, because it is not a threat for JSON injection and there are tokens such as LP, which may use this char. Example token Recom- mendation:Addbool isDash = char == 2Dcheck
Also, even Sablier NFT contains -
.
I agree with adding support for -
.
We still need to make a decision, but this PR solves this finding: https://www.codehawks.com/report/clvb9njmy00012dqjyaavpl44#M-01