fix(platforms): convert special characters to htmlentities to validate url

remove validate_url custom validator and replace with CI4's valid_url_strict
This commit is contained in:
Yassine Doghri 2022-11-03 15:37:44 +00:00
commit 82310a2e0b
29 changed files with 4 additions and 82 deletions

View file

@ -75,7 +75,7 @@ class PodcastPlatformController extends BaseController
continue;
}
if (! $validation->check($podcastPlatformUrl, 'validate_url')) {
if (! $validation->check(htmlentities($podcastPlatformUrl), 'valid_url_strict')) {
continue;
}