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 beec671 commit 3b80105Copy full SHA for 3b80105
src/middleware.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-const SIGNATURE_KEY = 'x-securenative';
+const SIGNATURE_KEY = 'HTTTP_X_SECURENATIVE';
4
5
class Middleware
6
{
src/utils.php
@@ -32,8 +32,8 @@ public static function userAgentFromRequest()
32
33
public static function securHeaderFromRequest()
34
35
- if (array_key_exists('x-securenative', $_SERVER)) {
36
- return $_SERVER['x-securenative'];
+ if (array_key_exists('HTTTP_X_SECURENATIVE', $_SERVER)) {
+ return $_SERVER['HTTTP_X_SECURENATIVE'];
37
}
38
return '';
39
0 commit comments