- fix: Bug in "Article with Files"
- fix: SQLReport pagination retains op= parameter - fix: Invalid MIME type set for images
This commit is contained in:
parent
24b0e8c8bd
commit
bc4125204a
8 changed files with 31 additions and 21 deletions
|
|
@ -375,9 +375,6 @@ sub www_edit {
|
|||
sub exportHtml_view {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->noAccess() unless $self->canView;
|
||||
# if ($self->session->var->get("adminOn")) {
|
||||
# return $self->session->asset($self->getContainer)->www_view;
|
||||
# }
|
||||
|
||||
my $path = $self->getStorageLocation->getPath($self->get('filename'));
|
||||
my $fh = eval { FileHandle->new($path) };
|
||||
|
|
|
|||
|
|
@ -602,7 +602,7 @@ sub _processQuery {
|
|||
|
||||
my $url = $self->getUrl('func=view');
|
||||
foreach ($self->session->form->param) {
|
||||
unless ($_ eq "pn" || $_ eq "func" || $_ =~ /identifier/i || $_ =~ /password/i) {
|
||||
unless ($_ eq "pn" || $_ eq "op" || $_ eq "func" || $_ =~ /identifier/i || $_ =~ /password/i) {
|
||||
$url = $self->session->url->append($url, $self->session->url->escape($_)
|
||||
.'='.$self->session->url->escape($self->session->form->process($_)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue