[icinga-checkins] icinga.org: icinga-web/master: * Added missing accents to RegExp

git at icinga.org git at icinga.org
Tue Nov 2 12:46:48 CET 2010


Module: icinga-web
Branch: master
Commit: b4546aec6109ee44d4574a404b5478519820688c
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b4546aec6109ee44d4574a404b5478519820688c

Author: jmosshammer <jmosshammer at localhost.localdomain>
Date:   Tue Nov  2 12:46:21 2010 +0100

* Added missing accents to RegExp

---

 .../models/System/CommandSenderModel.class.php     |    2 +-
 .../System/ViewProc/js/IcingaCommandHandler.js     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Cronks/models/System/CommandSenderModel.class.php b/app/modules/Cronks/models/System/CommandSenderModel.class.php
index 97c8fb7..df39659 100755
--- a/app/modules/Cronks/models/System/CommandSenderModel.class.php
+++ b/app/modules/Cronks/models/System/CommandSenderModel.class.php
@@ -78,7 +78,7 @@ class Cronks_System_CommandSenderModel extends CronksBaseModel {
 	 */
 	public function checkAuth($command, $json_selection, $json_data, $key) {
 		$data = $command. '-'. $json_selection. '-'. $json_data;
-		$data = preg_replace("/[ẃéŕźúíóṕǘáśǵḱĺýćǘńḿȩŗźíóṕáşḑģḩķĺýçńḿẂÉŔŹÚÍÓṔÚÜÁŚǴḰĹÝĆǗǸḾȨŖŢŞḐĢḨĶĻÝÇŅ]/", "", $data);
+		$data = preg_replace("/[ẃéŕźúíóṕǘáśǵḱĺýćǘńḿèàẁùìòàỳǜǹȩŗźíóṕáşḑģḩķĺýçńḿÈẀÙÌÒÀỲǛǸẂÉŔŹÚÍÓṔÚÜÁŚǴḰĹÝĆǗǸḾȨŖŢŞḐĢḨĶĻÝÇŅ]/", "", $data);
 
 		$test = hash_hmac(self::TIME_ALGO, $data, $this->genTimeKey());
 
diff --git a/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js b/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
index a1418eb..047738c 100755
--- a/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
+++ b/app/modules/Cronks/templates/System/ViewProc/js/IcingaCommandHandler.js
@@ -283,7 +283,7 @@ IcingaCommandHandler.prototype = {
 					var h_data = command + '-' + selection;
 					h_data += '-' + Ext.util.JSON.encode( f.getValues(false) );
 					// simplify string
-					h_data = h_data.replace(/[ẃéŕźúíóṕǘáśǵḱĺýćǘńḿȩŗźíóṕáşḑģḩķĺýçńḿẂÉŔŹÚÍÓṔÚÜÁŚǴḰĹÝĆǗǸḾȨŖŢŞḐĢḨĶĻÝÇŅ]/g,"");
+					h_data = h_data.replace(/[ẃéŕźúíóṕǘáśǵḱĺýćǘńḿèàẁùìòàỳǜǹȩŗźíóṕáşḑģḩķĺýçńḿÈẀÙÌÒÀỲǛǸẂÉŔŹÚÍÓṔÚÜÁŚǴḰĹÝĆǗǸḾȨŖŢŞḐĢḨĶĻÝÇŅ]/g,"");
 
 					var h_key = o.tk;
 					var h_auth = hex_hmac_rmd160(h_key, h_data);





More information about the icinga-checkins mailing list