diff --git a/core/modules/views/src/Plugin/views/display/PathPluginBase.php b/core/modules/views/src/Plugin/views/display/PathPluginBase.php
index 7738933..36f6ea3 100644
--- a/core/modules/views/src/Plugin/views/display/PathPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/PathPluginBase.php
@@ -458,7 +458,7 @@ protected function validatePath($path) {
       $errors[] = $this->t('No query allowed.');
     }
 
-    if (!parse_url('base:' . $path)) {
+    if (!parse_url('user-path:/' . $path)) {
       $errors[] = $this->t('Invalid path. Valid characters are alphanumerics as well as "-", ".", "_" and "~".');
     }
 
diff --git a/core/modules/views/src/Plugin/views/field/Links.php b/core/modules/views/src/Plugin/views/field/Links.php
index 4e2c73a..a11dfb0 100644
--- a/core/modules/views/src/Plugin/views/field/Links.php
+++ b/core/modules/views/src/Plugin/views/field/Links.php
@@ -85,7 +85,7 @@ protected function getLinks() {
       $path = strip_tags(String::decodeEntities($this->viewsTokenReplace($path, $tokens)));
 
       $links[$field] = array(
-        'url' => $path ? UrlObject::fromUri('base:' . $path) : $url,
+        'url' => $path ? UrlObject::fromUri('user-path:/' . $path) : $url,
         'title' => $title,
       );
       if (!empty($this->options['destination'])) {
