From 2d6fa8369ad2d31785007ae08379a09b916a7325 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 18 Nov 2008 18:16:57 +1300 Subject: [PATCH] Construct URL through the function. --- inc/caldav-PROPFIND.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-PROPFIND.php b/inc/caldav-PROPFIND.php index c543cea5..e315dacb 100644 --- a/inc/caldav-PROPFIND.php +++ b/inc/caldav-PROPFIND.php @@ -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 );