1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00

code review: be case-insensitive, "URL=" is also used sometimes

This commit is contained in:
Raymond Hill 2017-12-16 11:28:04 -05:00
parent 12630e8a8a
commit 3a6f550223
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -432,7 +432,7 @@ var collapser = (function() {
if ( noscripts.length === 0 ) { return; }
var redirectTimer,
reMetaContent = /^\s*(\d+)\s*;\s*url=(['"]?)([^'"]+)\2/,
reMetaContent = /^\s*(\d+)\s*;\s*url=(['"]?)([^'"]+)\2/i,
reSafeURL = /^https?:\/\//;
var autoRefresh = function(root) {