- 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
|
|
@ -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