Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / link / src / Plugin / Validation / Constraint / LinkNotExistingInternalConstraintValidator.php
index 6e2f0cff6554e24daac50a7f377126b26f859344..73895a3283e31d5516e07b49fb0baad7ea3b6b5b 100644 (file)
@@ -30,7 +30,7 @@ class LinkNotExistingInternalConstraintValidator extends ConstraintValidator {
       if ($url->isRouted()) {
         $allowed = TRUE;
         try {
-          $url->toString();
+          $url->toString(TRUE);
         }
         // The following exceptions are all possible during URL generation, and
         // should be considered as disallowed URLs.