Skip to content

Commit

Permalink
fix: removed wrong HTTP 403 response, closes #1688
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Mar 26, 2020
1 parent e1daf87 commit b56e190
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions phpmyfaq/admin/ajax.image.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
if (isset($_SERVER['HTTP_ORIGIN'])) {
if ($_SERVER['HTTP_ORIGIN'] . '/' === $faqConfig->getDefaultUrl()) {
$http->sendCorsHeader();
} else {
$http->setStatus(403);
return;
}
}

Expand Down

0 comments on commit b56e190

Please sign in to comment.