Changes between Initial Version and Version 1 of Ticket #15973


Ignore:
Timestamp:
May 7, 2011, 9:01:53 AM (14 years ago)
Author:
Luke Plant
Comment:

This is essentially the same as #15869 with different circumstances (i.e. certain libraries rather than certain browsers).

BTW, please use preview to check that your description comes out properly formatted.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15973

    • Property Resolutionduplicate
    • Property Triage Stage UnreviewedAccepted
    • Property Status newclosed
  • Ticket #15973 – Description

    initial v1  
    22
    33my suggestion is to change this line:
    4 
    5 f (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) {
    6 
     4{{{
     5if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) {
     6}}}
    77to this:
    8 
     8{{{
    99var root = location.protocol + '//' + location.host;
    1010if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url)) || settings.url.substr(0, root.length) === root  ) {
     11}}}
Back to Top