From 2f162b92b9465e084201801e3da266e3fcaf50a5 Mon Sep 17 00:00:00 2001 From: "scotty.b.brown@gmail.com" Date: Sat, 4 Dec 2010 13:05:08 +0000 Subject: [PATCH] Added ! to the has_valid_browser details_chars filter to cater for the message from IE - "navigator.plugins is not supported in this browser" git-svn-id: https://beef.googlecode.com/svn/trunk@597 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- lib/filter/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter/base.rb b/lib/filter/base.rb index e2b3218ee..56a1d12c0 100644 --- a/lib/filter/base.rb +++ b/lib/filter/base.rb @@ -81,7 +81,7 @@ module BeEF # check for valid browser details chars def self.has_valid_browser_details_chars?(str) return false if not is_non_empty_string?(str) - not (str =~ /[^\w\d\s()-.,;:_\/\302\256]/).nil? # \302\256 is the (r) character + not (str =~ /[^\w\d\s()-.,;:_\/!\302\256]/).nil? # \302\256 is the (r) character end