From 47860870a333e83a38fb0591e187db2287162ace Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Wed, 3 Aug 2022 09:04:00 +0200
Subject: [PATCH] sws: allow underscore in param values

---
 public_html/deployment/classes/sws.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/deployment/classes/sws.class.php b/public_html/deployment/classes/sws.class.php
index 8fcbd7da..bc1c4067 100644
--- a/public_html/deployment/classes/sws.class.php
+++ b/public_html/deployment/classes/sws.class.php
@@ -173,7 +173,7 @@ class sws {
      * @return boolean
      */
     private function _verifyParamValue($sParamValue){
-        $sOKChars='a-z0-9\"\{\}\[\]\.\,\ \:\-\+';
+        $sOKChars='a-z0-9\"\{\}\[\]\.\,\ \:\-\+\_';
         /*
         $sOKChars='a-z0-9\"\`\'\{\}\[\]\.\,\ \:\-\+'
         .'\<\>\='
-- 
GitLab