Ignore:
Timestamp:
2016-05-12T16:48:10+12:00 (8 years ago)
Author:
ak19
Message:

Implementing Dr Bainbridge's solution to fix the external link I'd broken in order to make external links safe/secure from XSS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/english2.dm

    r29382 r30529  
    154154_textextlinkcontent_ {The link you have selected is external to any of your currently selected collections.
    155155    If you still wish to view this link and your browser has access to
    156     the Web, you can <a href="_nexturl_">go forward</a> to this page; otherwise
    157     use your browsers "back" button to return to the previous document.}
     156    the Web, you can <a href="_nexturl_" onClick="follow\_escaped\_link(event, this.href)">go forward</a> to this page; otherwise
     157    use your browser's "back" button to return to the previous document.}
    158158
    159159_textlinknotfoundcontent_ {For reasons beyond our control, the internal link you have selected
     
    170170    If you wish to view this link in the "_2_" collection you can
    171171    <a href="_httpdoc_&amp;c=_1_&amp;cl=_cgiargclUrlsafe_&amp;d=_3_">go forward</a> to this page;
    172     otherwise use your browsers "back" button to return to the previous document.
     172    otherwise use your browser's "back" button to return to the previous document.
    173173}
    174174
Note: See TracChangeset for help on using the changeset viewer.