summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-03-14 02:32:56 +0000
committerclsung <clsung@FreeBSD.org>2005-03-14 02:32:56 +0000
commite73e5e96c119459fff1fea7f2321d99ade485474 (patch)
tree0fe54dff601d47056e43d24ee9f901ef1e45d0cf /www
parent22f28791990128373226291a893e3513393ee291 (diff)
downloadFreeBSD-ports-e73e5e96c119459fff1fea7f2321d99ade485474.zip
FreeBSD-ports-e73e5e96c119459fff1fea7f2321d99ade485474.tar.gz
- fix low risk vulnerability
(VuXML ID 4a0b334d-8d8d-11d9-afa0-003048705d5a) PR: 78779 Submitted by: Kang Liu (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/phpbb/Makefile1
-rw-r--r--www/phpbb/files/patch-includes-usercp_register.php16
2 files changed, 17 insertions, 0 deletions
diff --git a/www/phpbb/Makefile b/www/phpbb/Makefile
index 440bb32..455f520 100644
--- a/www/phpbb/Makefile
+++ b/www/phpbb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= phpbb
PORTVERSION= 2.0.13
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/www/phpbb/files/patch-includes-usercp_register.php b/www/phpbb/files/patch-includes-usercp_register.php
new file mode 100644
index 0000000..cbd39c8
--- /dev/null
+++ b/www/phpbb/files/patch-includes-usercp_register.php
@@ -0,0 +1,16 @@
+--- includes/usercp_register.php.orig Sun Mar 13 19:44:02 2005
++++ includes/usercp_register.php Sun Mar 13 19:48:34 2005
+@@ -145,10 +145,9 @@
+ if ( $mode == 'register' )
+ {
+ $attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig'];
+-
+- $allowhtml = ( isset($HTTP_POST_VARS['allowhtml']) ) ? ( ($HTTP_POST_VARS['allowhtml']) ? TRUE : 0 ) : $board_config['allow_html'];
+- $allowbbcode = ( isset($HTTP_POST_VARS['allowbbcode']) ) ? ( ($HTTP_POST_VARS['allowbbcode']) ? TRUE : 0 ) : $board_config['allow_bbcode'];
+- $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies'];
++ $allowhtml = ( ($board_config['allowhtml']) ) ? TRUE : 0;
++ $allowbbcode = ( ($board_config['allowbbcode']) ) ? TRUE : 0;
++ $allowsmilies = ( ($board_config['allowsmilies']) ) ? TRUE : 0;
+ }
+ else
+ {
OpenPOWER on IntegriCloud