Make the base URL in a PROPFIND reflect the actual requested URL.

This commit is contained in:
Andrew McMillan 2009-09-10 23:19:53 +12:00
parent 4794dfa79d
commit 36ef7160f5

View File

@ -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() ) {