diff options
author | clsung <clsung@FreeBSD.org> | 2005-03-14 10:32:56 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2005-03-14 10:32:56 +0800 |
commit | e73e5e96c119459fff1fea7f2321d99ade485474 (patch) | |
tree | 0fe54dff601d47056e43d24ee9f901ef1e45d0cf /www/phpbb/files | |
parent | 22f28791990128373226291a893e3513393ee291 (diff) | |
download | freebsd-ports-gnome-e73e5e96c119459fff1fea7f2321d99ade485474.tar.gz freebsd-ports-gnome-e73e5e96c119459fff1fea7f2321d99ade485474.tar.zst freebsd-ports-gnome-e73e5e96c119459fff1fea7f2321d99ade485474.zip |
- fix low risk vulnerability
(VuXML ID 4a0b334d-8d8d-11d9-afa0-003048705d5a)
PR: 78779
Submitted by: Kang Liu (maintainer)
Diffstat (limited to 'www/phpbb/files')
-rw-r--r-- | www/phpbb/files/patch-includes-usercp_register.php | 16 |
1 files changed, 16 insertions, 0 deletions
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 000000000000..cbd39c827557 --- /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 + { |