Skip to content
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

fix!(core/plugin): enforce sanity of params and phrase #64

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

protodeniz
Copy link
Member

Allow dashes and underscores and only in between words of phrases or each of params. The next fix should be done on params again to allow spaces in between words.

It used be more complex and didn't cover the case where we used a param of
`p-256`, because it expected it to be preceded by a letter.
Simply throws tests and add another case that tests for 'p-256'-like params and
phrases.
@protodeniz protodeniz merged commit 9a0ed9c into main Dec 12, 2023
3 checks passed
@protodeniz protodeniz deleted the sf/fix-dash-underscore branch December 12, 2023 14:35
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