Changes between Initial Version and Version 1 of Ticket #15973
- Timestamp:
- May 7, 2011, 9:01:53 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15973
- Property Resolution → duplicate
- Property Triage Stage Unreviewed → Accepted
- Property Status new → closed
-
Ticket #15973 – Description
initial v1 2 2 3 3 my suggestion is to change this line: 4 5 f (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) {6 4 {{{ 5 if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) { 6 }}} 7 7 to this: 8 8 {{{ 9 9 var root = location.protocol + '//' + location.host; 10 10 if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url)) || settings.url.substr(0, root.length) === root ) { 11 }}}