comment added

git-svn-id: https://beef.googlecode.com/svn/trunk@593 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
wade@bindshell.net
2010-12-03 22:56:08 +00:00
parent dbfa8bafd0
commit 37c75f68dc

View File

@@ -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