Skip to content

Commit

Permalink
fix: fixes overly permissive regexp range
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Nov 9, 2023
1 parent ab46edd commit 560e971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Donations/Components/ContactsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function ContactsForm(): ReactElement {
rules={{
required: t("addressRequired"),
pattern: {
value: /^[\p{L}\p{N}\sß.,#-/]+$/u,
value: /^[\p{L}\p{N}\sß.,#/-]+$/u,
message: t("addressInvalid"),
},
}}
Expand Down

0 comments on commit 560e971

Please sign in to comment.