diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-21 09:59:42 -0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 09:59:42 -0100 |
commit | b373bb0ffbf6e497e173a09b7ad3b70d131a3142 (patch) | |
tree | 31c4bbcab1eef69fd6af72a738ca5e98835f2738 /lib | |
parent | d6608248505d86ecec458250f9a404fd84187c82 (diff) | |
parent | 3906c391d5e5b8f0a3e0d3d63c3d8c3688066f1a (diff) |
Merge pull request #254 from nextcloud/bugfix/noid/non-case-sensitive-checking
+strtolower()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/CurlService.php | 2 |
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(); } |