aboutsummaryrefslogtreecommitdiffstats
path: root/www/instiki/files
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2007-04-10 11:19:12 +0800
committerlwhsu <lwhsu@FreeBSD.org>2007-04-10 11:19:12 +0800
commitf426c95c85c05476fd2abf7aad80d943f368bdf8 (patch)
tree24f05c185726182c1dca420e4190a7dc09127757 /www/instiki/files
parentc59b817325ed239dbd4b0937302bb8e58517efec (diff)
downloadfreebsd-ports-gnome-f426c95c85c05476fd2abf7aad80d943f368bdf8.tar.gz
freebsd-ports-gnome-f426c95c85c05476fd2abf7aad80d943f368bdf8.tar.zst
freebsd-ports-gnome-f426c95c85c05476fd2abf7aad80d943f368bdf8.zip
Update to 0.11 Patch Level 1 and fix cross site scripting vulnerability
Release info: http://rubyforge.org/frs/shownotes.php?group_id=186&release_id=10014 Security: http://golem.ph.utexas.edu/~distler/blog/archives/001181.html PR: 111407 Submitted by: Alexander Logvinov <ports AT logvinov.com> Approved by: clsung (mentor) Security: http://golem.ph.utexas.edu/~distler/blog/archives/001181.html
Diffstat (limited to 'www/instiki/files')
-rw-r--r--www/instiki/files/bluecloth-patch-lib-chunks-engines-rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/instiki/files/bluecloth-patch-lib-chunks-engines-rb b/www/instiki/files/bluecloth-patch-lib-chunks-engines-rb
index 7be347bfa6a4..1bab7ab32dda 100644
--- a/www/instiki/files/bluecloth-patch-lib-chunks-engines-rb
+++ b/www/instiki/files/bluecloth-patch-lib-chunks-engines-rb
@@ -1,12 +1,12 @@
---- lib/chunks/engines.rb.orig Sun Mar 12 15:57:24 2006
-+++ lib/chunks/engines.rb Tue Jun 6 22:45:16 2006
-@@ -35,7 +35,8 @@
-
- class Markdown < AbstractEngine
+--- lib/chunks/engines.rb.orig Wed Feb 28 06:09:26 2007
++++ lib/chunks/engines.rb Mon Apr 9 22:22:51 2007
+@@ -40,7 +40,8 @@
+ require_dependency 'sanitize'
+ include Sanitize
def mask
- require_dependency 'bluecloth_tweaked'
+ require_dependency 'rubygems'
+ require_gem 'BlueCloth'
- BlueCloth.new(@content, @content.options[:engine_opts]).to_html
+ html = BlueCloth.new(@content, @content.options[:engine_opts]).to_html
+ sanitize_html(html)
end
- end