comment added
git-svn-id: https://beef.googlecode.com/svn/trunk@593 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user