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.
2 parents 7ea5fec + a2547ee commit a362b17Copy full SHA for a362b17
VERSION
@@ -1 +1 @@
1
-1.7.0
+1.7.1
app/locker/request/Request.php
@@ -66,16 +66,16 @@ public function getPassword() {
66
* @return mixed Value of the header.
67
*/
68
public function header($key, $default=null) {
69
- $value = \Request::header($key);
+ $value = $this->getParam($key);
70
71
- // If the key is set in the headers then return it.
+ // If the key is set in the payload then return it.
72
if (isset($value)) {
73
return $value;
74
}
75
76
- // Else return it from the payload.
+ // Else return it from the headers.
77
else {
78
- return $this->getParam($key, $default);
+ return \Request::header($key, $default);
79
80
81
0 commit comments