Changeset 28996


Ignore:
Timestamp:
2014-04-28T13:54:35+12:00 (10 years ago)
Author:
ak19
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.