Improve verifiable conversion regex #16966
Labels
enhancement
feature/ads
OS/Desktop
priority/P3
The next thing for us to work on. It'll ride the trains.
QA Pass-Linux
QA/Yes
release-notes/exclude
Milestone
Correctly verifiable conversion regex works, but can be improved.
Regex was introduced in: https://github.com/brave/brave-core/pull/9089/files
Improvement suggested by @iambrianfung
Steps to Reproduce
Actual result:
Regex is
"^[a-zA-Z0-9/-]*$"
Expected result:
Regex is
"^[-a-zA-Z0-9]*$"
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
cc @jsecretan @iambrianfung @tmancey
The text was updated successfully, but these errors were encountered: