Passed
Push — Showing-Posts ( 555668...fc2dfc )
by Stone
02:28
created
App/Controllers/Ajax/ImageUpload.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                 // Same-origin requests won't set an origin. If the origin is set, it must be valid.
29 29
                 if(in_array($_SERVER['HTTP_ORIGIN'], $accepted_origins)){
30 30
                     header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']);
31
-                }else{
31
+                } else{
32 32
                     header("HTTP/1.1 403 Origin Denied");
33 33
                     return;
34 34
                 }
Please login to merge, or discard this patch.