mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +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
|
|
@ -154,8 +154,8 @@ class InstallController extends Controller
|
|||
public function attemptInstanceConfig(): RedirectResponse
|
||||
{
|
||||
$rules = [
|
||||
'hostname' => 'required|validate_url',
|
||||
'media_base_url' => 'permit_empty|validate_url',
|
||||
'hostname' => 'required|valid_url_strict',
|
||||
'media_base_url' => 'permit_empty|valid_url_strict',
|
||||
'admin_gateway' => 'required',
|
||||
'auth_gateway' => 'required|differs[admin_gateway]',
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue