ABP selectors are padded with "##" and "#@" to mark the following selector as an inclusion or exception selector (hide, or whitelist element respectively). However, the padding is not the same for global selectors and domain specific selectors.
Domain specific exception selectors, for example, are padded with "#@#", so a class exception filter for myclass on domain.com would look like:
domain.com#@#.myclass.
HttpFilteringEngine::ProcessAbpFormattedRule(...) does not presently factor this in, and thus winds up incorrectly trimming selectors out of rule strings before passing them off to the GQ library to be parsed fully.
ABP selectors are padded with "##" and "#@" to mark the following selector as an inclusion or exception selector (hide, or whitelist element respectively). However, the padding is not the same for global selectors and domain specific selectors.
Domain specific exception selectors, for example, are padded with "#@#", so a class exception filter for
myclass
ondomain.com
would look like:domain.com#@#.myclass
.HttpFilteringEngine::ProcessAbpFormattedRule(...)
does not presently factor this in, and thus winds up incorrectly trimming selectors out of rule strings before passing them off to the GQ library to be parsed fully.