Webhook validator urlRegex doesnot contain '_' #5543
Labels
good first issue
Good for newcomers
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: core:strapi
Source is core/strapi package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Describe the bug
The urlRegex in webhookvalidator can not match '_';
https://github.com/strapi/strapi/blob/master/packages/strapi-admin/controllers/Webhooks.js#L14
Steps to reproduce the behavior
2.type 'http://ab_cd.test.com" as url
Expected behavior
"_" is a legal charactor in host.
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
If applicable, add code samples to help explain your problem.
https://github.com/strapi/strapi/blob/master/packages/strapi-admin/controllers/Webhooks.js#L14
System
The text was updated successfully, but these errors were encountered: