Loading pathologic.module +2 −1 Original line number Diff line number Diff line Loading @@ -326,6 +326,7 @@ function _pathologic_replace($matches) { 'path' => $parts['path'], 'options' => [ 'query' => $parts['qparts'], 'path_processing' => TRUE, 'fragment' => isset($parts['fragment']) ? $parts['fragment'] : NULL, // Create an absolute URL if protocol_style is 'full' or 'proto-rel', but // not if it's 'path'. Loading Loading @@ -359,7 +360,7 @@ function _pathologic_replace($matches) { } else { try { $url = Url::fromUri('base://' . $url_params['path'], $url_params['options']) $url = Url::fromUri('base:/' . $url_params['path'], $url_params['options']) ->toString(); } catch (\Exception $e) { Loading Loading
pathologic.module +2 −1 Original line number Diff line number Diff line Loading @@ -326,6 +326,7 @@ function _pathologic_replace($matches) { 'path' => $parts['path'], 'options' => [ 'query' => $parts['qparts'], 'path_processing' => TRUE, 'fragment' => isset($parts['fragment']) ? $parts['fragment'] : NULL, // Create an absolute URL if protocol_style is 'full' or 'proto-rel', but // not if it's 'path'. Loading Loading @@ -359,7 +360,7 @@ function _pathologic_replace($matches) { } else { try { $url = Url::fromUri('base://' . $url_params['path'], $url_params['options']) $url = Url::fromUri('base:/' . $url_params['path'], $url_params['options']) ->toString(); } catch (\Exception $e) { Loading