fix: DataForm corrupts text area fields
fix: mysql 5.0.9 bug
This commit is contained in:
parent
5138d50a3f
commit
4a4da7bb43
3 changed files with 3 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ PerlRequire /data/WebGUI/sbin/preload.perl
|
|||
PerlSetVar WebguiConfig www.example.com.conf
|
||||
</VirtualHost>
|
||||
|
||||
3. Install MySQL 5.0 or higher.
|
||||
3. Install MySQL 5.0.10 or higher.
|
||||
|
||||
4. Install Image Magick 6.0 or higher.
|
||||
|
||||
|
|
|
|||
|
|
@ -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,{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue