diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-20 15:52:59 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-12-20 15:52:59 -0100 |
commit | 3906c391d5e5b8f0a3e0d3d63c3d8c3688066f1a (patch) | |
tree | 86645eda8ec0ed6885c10679d029880732813a20 /lib/Service/CurlService.php | |
parent | 596e7371798d4cd02eb50d07ccae44c00778522f (diff) |
+strtolower()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service/CurlService.php')
-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(); } |