validate-curp
validate-curp copied to clipboard
Forbidden words exceptions
How can i deactivate forbaidden words? Beacuse there are people who have CURP with forbaidden words but registered them before that validation began
Hi @RFUENTESEDUCEM Thanks for reporting the problem. I wasn´t aware of this, can you share an example?
Some possible solutions are:
- Immediate solution: your application ignores the error when
FORBIDDEN_WORDis the only existing error. - I can add a "white-list" with valid CURPs that does not meet all of the validations. Similar to my library for RFCs: https://github.com/manuelmhtr/validate-rfc#known-issues