mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Make the base URL in a PROPFIND reflect the actual requested URL.
This commit is contained in:
parent
4794dfa79d
commit
36ef7160f5
@ -778,7 +778,7 @@ $request->UnsupportedRequest($unsupported); // Won't return if there was unsuppo
|
||||
/**
|
||||
* Something that we can handle, at least roughly correctly.
|
||||
*/
|
||||
$url = ConstructURL( $request->path );
|
||||
$url = ConstructURL( isset($request->real_url) ? $request->real_url : $request->path );
|
||||
$url = preg_replace( '#/$#', '', $url);
|
||||
$responses = array();
|
||||
if ( $request->IsPrincipal() ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user