mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-21 17:06:22 +00:00
Use defined canonicalisation base URL.
This commit is contained in:
parent
becfa15926
commit
e4f10270b7
@ -300,8 +300,7 @@ elseif ( $request->AllowedTo('read') ) {
|
||||
/**
|
||||
* Something that we can handle, at least roughly correctly.
|
||||
*/
|
||||
$url = sprintf("http://%s:%d%s%s", $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], $_SERVER['SCRIPT_NAME'], $request->path );
|
||||
$url = $_SERVER['SCRIPT_NAME'] . $request->path ;
|
||||
$url = $c->protocol_server_port_script . $request->path ;
|
||||
$url = preg_replace( '#/$#', '', $url);
|
||||
|
||||
$responses = get_collection( $request->depth, (isset($request->user_no) ? $request->user_no : $session->user_no), $request->path );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user