diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 2152308b4..3a4fe25a9 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -22,6 +22,8 @@ - fix: WebGUI creating bad Live Bookmarks for all SyndicatedObjects - fix: RSS Feeds Don't Combine - fix: Suspicious code in SyndicatedContent.pm + - fix: MySQL5.0.9 bug + - fix: DataForm corrupts text area fields 6.99.2 - fix - demo.plainblack.com getting started diff --git a/docs/install.txt b/docs/install.txt index 0e3a5d33b..8e4a43dca 100644 --- a/docs/install.txt +++ b/docs/install.txt @@ -30,7 +30,7 @@ PerlRequire /data/WebGUI/sbin/preload.perl PerlSetVar WebguiConfig www.example.com.conf -3. Install MySQL 5.0 or higher. +3. Install MySQL 5.0.10 or higher. 4. Install Image Magick 6.0 or higher. diff --git a/lib/WebGUI/Asset/Wobject/DataForm.pm b/lib/WebGUI/Asset/Wobject/DataForm.pm index 4fb764896..b2f662dd7 100644 --- a/lib/WebGUI/Asset/Wobject/DataForm.pm +++ b/lib/WebGUI/Asset/Wobject/DataForm.pm @@ -613,16 +613,6 @@ sub purge { $self->SUPER::purge(); } -#------------------------------------------------------------------- -sub sanitizeUserInput { - my $self = shift; - my $content = shift; - my $contentType = shift || "text"; - my $msg = WebGUI::HTML::format($content, $contentType); - - return $msg; -} - #------------------------------------------------------------------- sub sendEmail { my $self = shift; @@ -1093,7 +1083,6 @@ sub www_process { if ($row{status} eq "required" || $row{status} eq "editable") { $value = $self->session->form->process($row{name},$row{type},$row{defaultValue}); WebGUI::Macro::filter(\$value); - $value = $self->sanitizeUserInput($value) unless ($row{type} eq "HTMLArea"); } if ($row{status} eq "required" && ($value =~ /^\s$/ || $value eq "" || not defined $value)) { push (@errors,{