projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
security/core#14 Validate "context" inputs
[civicrm-core.git]
/
CRM
/
Case
/
Page
/
CaseDetails.php
diff --git
a/CRM/Case/Page/CaseDetails.php
b/CRM/Case/Page/CaseDetails.php
index bc8ef05969822309cb0bfefaaffdd77a2d8bb4bd..fc5e4c5fc3fd3e55d02223ed410509afacc16d62 100644
(file)
--- a/
CRM/Case/Page/CaseDetails.php
+++ b/
CRM/Case/Page/CaseDetails.php
@@
-41,7
+41,7
@@
class CRM_Case_Page_CaseDetails extends CRM_Core_Page {
*/
public function run() {
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
*/
public function run() {
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
- $this->_context = CRM_Utils_Request::retrieve('context', '
String
', $this);
+ $this->_context = CRM_Utils_Request::retrieve('context', '
Alphanumeric
', $this);
$this->assign('action', $this->_action);
$this->assign('context', $this->_context);
$this->assign('action', $this->_action);
$this->assign('context', $this->_context);