mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Updated from $path to $value
This commit is contained in:
parent
7b6bc41d5b
commit
ec9672ec68
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ class ValidGitRepositoryUrl implements ValidationRule
|
|||
}
|
||||
|
||||
// Ensure any percent signs are valid percent-encodings like %20
|
||||
if (! empty($path) && preg_match('/%(?![0-9A-Fa-f]{2})/', $path)) {
|
||||
if (! empty($value) && preg_match('/%(?![0-9A-Fa-f]{2})/', $value)) {
|
||||
$fail('The :attribute path contains invalid percent encoding.');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue