summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public_html/debug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/debug.php b/public_html/debug.php
index af03921..84e89b3 100644
--- a/public_html/debug.php
+++ b/public_html/debug.php
@@ -55,7 +55,7 @@ $rcube->write_log('davdebug', $_SERVER['REQUEST_METHOD'] . ' ' . $_SERVER['REQUE
join("\n", $http_headers) . "\n\n" . $http_body);
// fix URIs in request body
-$http_body = preg_replace("!(<d:href>$base_uri)!i", '\\1index.php/', $http_body);
+$http_body = preg_replace("!(<\w+:href[^>]*>$base_uri)!i", '\\1index.php/', $http_body);
$http_headers['Content-Length'] = "Content-Length: " . strlen($http_body);
// forward the full request to index.php