fixed: Security issue in CS RSS feeds
This commit is contained in:
parent
10060cb06c
commit
ea3d3e9e9c
2 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ sub www_view {
|
|||
my $self = shift;
|
||||
return '' unless $self->session->asset->getId eq $self->getId;
|
||||
return '' unless $self->getParent->isa('WebGUI::Asset::RSSCapable');
|
||||
return '' unless $self->getParent->canView; # Go to parent for auth
|
||||
my $parent = $self->getParent;
|
||||
my $template = WebGUI::Asset::Template->new($self->session, $parent->get('rssCapableRssTemplateId'));
|
||||
$template->prepare;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue