From 37c75f68dc25e837f2cf3eb6c67e6d4f7f0b4a56 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Fri, 3 Dec 2010 22:56:08 +0000 Subject: [PATCH] comment added git-svn-id: https://beef.googlecode.com/svn/trunk@593 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- lib/filter/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter/command.rb b/lib/filter/command.rb index 34027bc61..20de61c5e 100644 --- a/lib/filter/command.rb +++ b/lib/filter/command.rb @@ -40,7 +40,7 @@ module BeEF # check for word and some punc chars def self.has_valid_key_chars?(str) return false if not BeEF::Filter.is_non_empty_string?(str) - (str =~ /[^\w\d\s()-.,;_\302\256]/).nil? + (str =~ /[^\w\d\s()-.,;_\302\256]/).nil? # \302\256 is the (r) character end # check for word and underscore chars