Displaying 1 result from an estimated 1 matches for "feed705".
Did you mean:
feed02
2010 Feb 02
0
[Security] Loofah has an HTML injection / XSS vulnerability, please upgrade to 0.4.6
...def text
- xpath("/html/body").inner_text
+ encode_special_chars xpath("/html/body").inner_text
end
alias :inner_text :text
alias :to_str :text
diff --git a/lib/loofah/html/document_fragment.rb
b/lib/loofah/html/document_fragment.rb
index feed705..9c023af 100644
--- a/lib/loofah/html/document_fragment.rb
+++ b/lib/loofah/html/document_fragment.rb
@@ -28,10 +26,11 @@ module Loofah
alias :serialize :to_s
#
- # Returns a plain-text version of the markup contained by the
fragment
+ # Returns a plain-text version of th...