mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Construct URL through the function.
This commit is contained in:
parent
6bc73c5b64
commit
2d6fa8369a
@ -659,7 +659,7 @@ $request->UnsupportedRequest($unsupported); // Won't return if there was unsuppo
|
||||
/**
|
||||
* Something that we can handle, at least roughly correctly.
|
||||
*/
|
||||
$url = $c->protocol_server_port_script . $request->path ;
|
||||
$url = ConstructURL( $request->path );
|
||||
$url = preg_replace( '#/$#', '', $url);
|
||||
if ( $request->IsCollection() ) {
|
||||
$responses = get_collection( $request->depth, $request->user_no, $request->path );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user