mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02:00
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:
parent
67b6e30d24
commit
82310a2e0b
29 changed files with 4 additions and 82 deletions
|
|
@ -65,7 +65,7 @@ class PodcastImportController extends BaseController
|
|||
|
||||
$rules = [
|
||||
'handle' => 'required|regex_match[/^[a-zA-Z0-9\_]{1,32}$/]',
|
||||
'imported_feed_url' => 'required|validate_url',
|
||||
'imported_feed_url' => 'required|valid_url_strict',
|
||||
'season_number' => 'is_natural_no_zero|permit_empty',
|
||||
'max_episodes' => 'is_natural_no_zero|permit_empty',
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue