summaryrefslogtreecommitdiff
path: root/app/Core/Http
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Http')
-rw-r--r--app/Core/Http/Request.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Core/Http/Request.php b/app/Core/Http/Request.php
index 44bfdbe6..f7d29ab9 100644
--- a/app/Core/Http/Request.php
+++ b/app/Core/Http/Request.php
@@ -112,6 +112,17 @@ class Request extends Base
}
/**
+ * Get POST value without modification
+ *
+ * @param $name
+ * @return mixed|null
+ */
+ public function getRawValue($name)
+ {
+ return isset($this->post[$name]) ? $this->post[$name] : null;
+ }
+
+ /**
* Get the raw body of the HTTP request
*
* @access public