X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fpath%2Fsrc%2FForm%2FPathFormBase.php;fp=web%2Fcore%2Fmodules%2Fpath%2Fsrc%2FForm%2FPathFormBase.php;h=5172419d793c1b31029f8ba7b379773ba56a72c2;hp=884d24fb8ac2ba01dcbd86bffce701de0ae0de6f;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/path/src/Form/PathFormBase.php b/web/core/modules/path/src/Form/PathFormBase.php index 884d24fb8..5172419d7 100644 --- a/web/core/modules/path/src/Form/PathFormBase.php +++ b/web/core/modules/path/src/Form/PathFormBase.php @@ -191,7 +191,6 @@ abstract class PathFormBase extends FormBase { } } - if (!$this->pathValidator->isValid(trim($source, '/'))) { $form_state->setErrorByName('source', t("The path '@link_path' is either invalid or you do not have access to it.", ['@link_path' => $source])); }