summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-12-21 09:59:42 -0100
committerGitHub <noreply@github.com>2018-12-21 09:59:42 -0100
commitb373bb0ffbf6e497e173a09b7ad3b70d131a3142 (patch)
tree31c4bbcab1eef69fd6af72a738ca5e98835f2738 /lib
parentd6608248505d86ecec458250f9a404fd84187c82 (diff)
parent3906c391d5e5b8f0a3e0d3d63c3d8c3688066f1a (diff)
Merge pull request #254 from nextcloud/bugfix/noid/non-case-sensitive-checking
+strtolower()
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/CurlService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php
index c00ce0c0..8358be66 100644
--- a/lib/Service/CurlService.php
+++ b/lib/Service/CurlService.php
@@ -122,7 +122,7 @@ class CurlService {
throw new UnknownItemException();
}
- if ($actor->getId() !== $id) {
+ if (strtolower($actor->getId()) !== strtolower($id)) {
throw new InvalidOriginException();
}