- fix: Survey: textarea answers are trunctated
- fix: Snippet Security Fails
This commit is contained in:
parent
7867ce3573
commit
358f0ecdb8
3 changed files with 9 additions and 7 deletions
|
|
@ -1,6 +1,8 @@
|
|||
7.1.1
|
||||
- fix: some issues with asset exports not handling URLs with dots correctly
|
||||
- fix: Search from root
|
||||
- fix: Survey: textarea answers are trunctated
|
||||
- fix: Snippet Security Fails
|
||||
|
||||
7.1.0
|
||||
- fix: mysql and mysqldump were transposed in upgrade.pl --help
|
||||
|
|
|
|||
|
|
@ -20,17 +20,16 @@ my $quiet; # this line required
|
|||
|
||||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
fixSurvey();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
##-------------------------------------------------
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
|
||||
# # and here's our code
|
||||
#}
|
||||
#-------------------------------------------------
|
||||
sub fixSurvey {
|
||||
print "\tFixing answer truncation in survey.\n" unless ($quiet);
|
||||
$session->db->write("alter table Survey_questionResponse change response response text");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ A web accessible version of the view method.
|
|||
|
||||
sub www_view {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->insufficient() unless $self->canView;
|
||||
my $mimeType=$self->getValue('mimeType');
|
||||
$self->session->http->setMimeType($mimeType || 'text/html');
|
||||
$self->session->http->setCacheControl($self->get("cacheTimeout"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue