- fix: Survey: textarea answers are trunctated

- fix: Snippet Security Fails
This commit is contained in:
JT Smith 2006-10-12 01:46:07 +00:00
parent 7867ce3573
commit 358f0ecdb8
3 changed files with 9 additions and 7 deletions

View file

@ -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"));