#
PORTNAME= foswiki
PORTVERSION= 1.1.3
PORTVERSION= 1.1.4
CATEGORIES= www
MASTER_SITES= SF
DISTNAME= Foswiki-${PORTVERSION}
SHA256 (foswiki/Foswiki-1.1.3.tgz) = 76d81d10765fefb0e17872482b778fab446d6e357a62ba87aba6eb36d4398b7d
SHA256 (foswiki/Foswiki-1.1.4.tgz) = a67b5041c49a06fd445e9a55ab374ea006e40e37620acc4697524f1767a27a5a
SIZE (foswiki/Foswiki-1.1.3.tgz) = 13263991
SIZE (foswiki/Foswiki-1.1.4.tgz) = 14948922
--- lib/Foswiki/UI/Register.pm.orig 2012-03-25 11:18:23.000000000 -0700
+++ lib/Foswiki/UI/Register.pm 2012-03-25 11:19:45.000000000 -0700
@@ -1563,6 +1563,9 @@
# It is the responsibility of the implementation code to untaint
# these data before they are used in dangerous ways.
# DO NOT UNTAINT THESE DATA HERE!
+ unless ( $name =~ m/^(?:wikiname|name|loginname|username|password|confirm)$/i ) {
+ $value =~ s/([<>%'"])/'&#'.ord($1).';'/ge;
+ }
$data->{$name} = $value;
push(
@{ $data->{form} },