security/core#14 Validate "context" inputs
[civicrm-core.git] / CRM / Financial / Page / FinancialBatch.php
index 27a7783aea4584144eb2c6f0c840dc814c4658cb..21a4db30750b70fb6b2d986e4f69dab5d84e65b6 100644 (file)
@@ -74,7 +74,7 @@ class CRM_Financial_Page_FinancialBatch extends CRM_Core_Page_Basic {
    * Finally it calls the parent's run method.
    */
   public function run() {
-    $context = CRM_Utils_Request::retrieve('context', 'String', $this);
+    $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this);
     $this->set("context", $context);
 
     $id = $this->getIdAndAction();