Changeset 28996

Show
Ignore:
Timestamp:
28.04.2014 13:54:35 (4 years ago)
Author:
ak19
Message:

GS3 does not have the new httpdomainHtmlsafe macro introduced into GS2 for the changes for security.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r28911 r28996  
    918918        my $rss_entry = "<item>\n"; 
    919919        $rss_entry   .= "   <title>$dc_title</title>\n"; 
    920     $rss_entry   .= "   <link>_httpdomainHtmlsafe__httpcollection_/document/$oid</link>\n"; 
     920    if($ENV{'GSDL3SRCHOME'}) { 
     921        $rss_entry   .= "   <link>_httpdomain__httpcollection_/document/$oid</link>\n"; 
     922    } else { 
     923        $rss_entry   .= "   <link>_httpdomainHtmlsafe__httpcollection_/document/$oid</link>\n"; 
     924    } 
    921925    $rss_entry   .= "</item>"; 
    922926