summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-cj
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2008-08-09 19:57:51 +0000
committerkefren <kefren@pkgsrc.org>2008-08-09 19:57:51 +0000
commit5a9062e35b6508dd8bef4ac76a3ea34646ec6494 (patch)
tree030fc9a761e875f9403c2711a026e1640321215b /lang/mono/patches/patch-cj
parent67fc1f71922979e5fffb5ad03acd5084e087c994 (diff)
downloadpkgsrc-5a9062e35b6508dd8bef4ac76a3ea34646ec6494.tar.gz
fix an cross site scripting vulnerability
bump PKGREVISION
Diffstat (limited to 'lang/mono/patches/patch-cj')
-rw-r--r--lang/mono/patches/patch-cj12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/mono/patches/patch-cj b/lang/mono/patches/patch-cj
new file mode 100644
index 00000000000..ab1c7c11ea9
--- /dev/null
+++ b/lang/mono/patches/patch-cj
@@ -0,0 +1,12 @@
+$NetBSD: patch-cj,v 1.1 2008/08/09 19:57:51 kefren Exp $
+--- mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputRadioButton.cs.orig 2007-11-09 00:10:32.000000000 +0200
++++ mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputRadioButton.cs 2008-08-09 22:23:02.000000000 +0300
+@@ -126,7 +126,7 @@
+ if (Page != null)
+ Page.ClientScript.RegisterForEventValidation (this.UniqueID, Value);
+ #endif
+- writer.WriteAttribute ("value", Value);
++ writer.WriteAttribute ("value", Value, true);
+ Attributes.Remove ("value");
+ base.RenderAttributes (writer);
+ }