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: WebGUI creating bad Live Bookmarks for all SyndicatedObjects
|
||||||
- fix: RSS Feeds Don't Combine
|
- fix: RSS Feeds Don't Combine
|
||||||
- fix: Suspicious code in SyndicatedContent.pm
|
- fix: Suspicious code in SyndicatedContent.pm
|
||||||
|
- fix: MySQL5.0.9 bug
|
||||||
|
- fix: DataForm corrupts text area fields
|
||||||
|
|
||||||
6.99.2
|
6.99.2
|
||||||
- fix - demo.plainblack.com getting started
|
- fix - demo.plainblack.com getting started
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ PerlRequire /data/WebGUI/sbin/preload.perl
|
||||||
PerlSetVar WebguiConfig www.example.com.conf
|
PerlSetVar WebguiConfig www.example.com.conf
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
3. Install MySQL 5.0 or higher.
|
3. Install MySQL 5.0.10 or higher.
|
||||||
|
|
||||||
4. Install Image Magick 6.0 or higher.
|
4. Install Image Magick 6.0 or higher.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -613,16 +613,6 @@ sub purge {
|
||||||
$self->SUPER::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 {
|
sub sendEmail {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
@ -1093,7 +1083,6 @@ sub www_process {
|
||||||
if ($row{status} eq "required" || $row{status} eq "editable") {
|
if ($row{status} eq "required" || $row{status} eq "editable") {
|
||||||
$value = $self->session->form->process($row{name},$row{type},$row{defaultValue});
|
$value = $self->session->form->process($row{name},$row{type},$row{defaultValue});
|
||||||
WebGUI::Macro::filter(\$value);
|
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)) {
|
if ($row{status} eq "required" && ($value =~ /^\s$/ || $value eq "" || not defined $value)) {
|
||||||
push (@errors,{
|
push (@errors,{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue