mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02:00
RegExp fix for https://github.com/gorhill/uBlock/issues/3717 (#3718)
* Update ublock.js * Update ublock.js * Update ublock.js
This commit is contained in:
parent
9d8e2e20fb
commit
048930ca8f
@ -266,8 +266,9 @@ var matchBucket = function(url, hostname, bucket, start) {
|
||||
return whitelist;
|
||||
};
|
||||
|
||||
µBlock.reWhitelistBadHostname = /[^a-z0-9.\-\[\]:]/;
|
||||
µBlock.reWhitelistHostnameExtractor = /([a-z0-9\[][a-z0-9.\-]*[a-z0-9\]])(?::[\d*]+)?\/(?:[^\x00-\x20\/]|$)[^\x00-\x20]*$/;
|
||||
// https://github.com/gorhill/uBlock/issues/3717
|
||||
µBlock.reWhitelistBadHostname = /[^a-z0-9.\-_\[\]:]/;
|
||||
µBlock.reWhitelistHostnameExtractor = /([a-z0-9.\-_\[\]]+)(?::[\d*]+)?\/(?:[^\x00-\x20\/]|$)[^\x00-\x20]*$/;
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user