summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-09-04 14:28:46 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-09-04 14:28:46 (GMT)
commit1b3d45fd92e622efe66fabf111da1d79a8826798 (patch)
treec97fb96c3a8e111e77b3af461ac6256a885ab539 /public_html
parent7164ba811e5f711023a3c87841729b6ff44414b5 (diff)
downloadiRony-1b3d45fd92e622efe66fabf111da1d79a8826798.tar.gz
Accept events/vcards with URI doesn't match the objects's UID. Send a Location: header with the response (#2109)
Diffstat (limited to 'public_html')
-rw-r--r--public_html/debug.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public_html/debug.php b/public_html/debug.php
index 84e89b3..10fcea8 100644
--- a/public_html/debug.php
+++ b/public_html/debug.php
@@ -92,6 +92,7 @@ header($result_headers, true);
// forward response headers
unset($response_headers['Transfer-Encoding']);
foreach ($response_headers as $hdr => $value) {
+ $value = str_replace('index.php/', '', $value);
$result_headers .= "\n$hdr: " . $value;
header("$hdr: " . $value, true);
}