mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Release 0.9.6.2
This commit is contained in:
1 parent
b67553ac6c
commit
f5ce29e09c
76 files changed
+735
-509
No files matched your search
+1
-1
@@ -244,7 +244,7 @@ function ConstructURL( $partial_path ) {
|
||||
|
||||
$url = $c->_url_script_path . $partial_path;
|
||||
$url = preg_replace( '#^(https?://.+)//#', '$1/', $url ); // Ensure we don't double any '/'
|
||||
$url = preg_replace('#^https?://[^/]+#', '', $url );
|
||||
$url = preg_replace('#^https?://[^/]+#', '', $url ); // Remove any protocol + hostname portion
|
||||
return $url;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user