summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBrad Rubenstein <brad@wbr.tech>2018-11-12 12:59:12 -0800
committerBrad Rubenstein <brad@wbr.tech>2019-02-28 01:43:07 +0000
commit79d20e47581b0cae9809b025c7d2b922c0b29dea (patch)
tree77a3d49dce1853217c237de776dc36fed0879f0a /apps
parent6421e30b2ccad91bb708d51609d7dd72cbfc0ebe (diff)
downloadnextcloud-server-79d20e47581b0cae9809b025c7d2b922c0b29dea.tar.gz
nextcloud-server-79d20e47581b0cae9809b025c7d2b922c0b29dea.zip
Revert 3ff3ed0c56 case-insensitive compares.
My oops. The comparisons, which are copied from the IMipPlugin shipped with sabre-io/dav, do not need to be case insensitive because the sender and recipient names are normalized by sabre, (see calls to getNormalizedValue in voboject/lib/ITip/Broker.php). Signed-off-by: Brad Rubenstein <brad@wbr.tech>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CalDAV/Schedule/IMipPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
index 987e6c86f5d..7035d3c780f 100644
--- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
+++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
@@ -144,11 +144,11 @@ class IMipPlugin extends SabreIMipPlugin {
$summary = $iTipMessage->message->VEVENT->SUMMARY;
- if (strcasecmp(parse_url($iTipMessage->sender, PHP_URL_SCHEME), 'mailto') !== 0) {
+ if (parse_url($iTipMessage->sender, PHP_URL_SCHEME) !== 'mailto') {
return;
}
- if (strcasecmp(parse_url($iTipMessage->recipient, PHP_URL_SCHEME), 'mailto') !== 0) {
+ if (parse_url($iTipMessage->recipient, PHP_URL_SCHEME) !== 'mailto') {
return;
}