We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb4b8f commit 080e4d2Copy full SHA for 080e4d2
index.php
@@ -10,7 +10,7 @@
10
require_once __DIR__ . '/src/Response.php';
11
12
// Check if this is a request for the enterprise version endpoint
13
-if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] === '/enterprise-version') {
+if (isset($_SERVER['REQUEST_URI']) && substr($_SERVER['REQUEST_URI'], -19) === '/enterprise-version') {
14
// Set Content-Type to JSON
15
header('Content-Type: application/json');
16
// Enforce browser based XSS filters
0 commit comments