Prerequisites
I tried to reproduce the issue when...
Description
When adding a set-cookie scriptlet filter to My filters that explicitly specifies the cookie path / while using a regex‑based hostname (or when converting an existing plain hostname filter into a regex‑based one), uBO editor throws an uncaught error and fails to render the filter line. For example:
/example\.com/##+js(set-cookie, cookie, accept, /)
Attempting to edit such a filter in My filters immediately triggers:
Uncaught Error: Mode ubo-static-filtering failed to advance stream.
A specific URL where the issue occurs.
extension://odfafepnkmbhccpbejgmiehpchacaeak/dashboard.html#1p-filters.html
Steps to Reproduce
- Add a filter using a regex hostname and explicit cookie path to My filters:
/example\.com/##+js(set-cookie, cookie, accept, /)
- Observe the uncaught error in the console.
Expected behavior
No error
Troubleshooting information
uBlock Origin: 1.74.0
Chromium: 152
filterset (summary):
network: 184367
cosmetic: 43712
scriptlet: 37702
html: 0
listset (total-discarded, last-updated):
default:
user-filters: 0-0, never
ublock-filters: 53295-85, 1m
ublock-badware: 10395-17, 1m
ublock-privacy: 4147-4, 1m
ublock-unbreak: 2803-1, 1m
ublock-quick-fixes: 504-0, 1m
easylist: 88469-489, 1m
easyprivacy: 56531-739, 1m
urlhaus-1: 47575-11, 1m
plowe-0: 3540-2, 2m
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
allReadyAfter: 3027 ms
maxAssetCacheWait: 18 ms
cacheBackend: indexedDB
Prerequisites
I tried to reproduce the issue when...
Description
When adding a
set-cookiescriptlet filter to My filters that explicitly specifies the cookie path/while using a regex‑based hostname (or when converting an existing plain hostname filter into a regex‑based one), uBO editor throws an uncaught error and fails to render the filter line. For example:Attempting to edit such a filter in My filters immediately triggers:
A specific URL where the issue occurs.
extension://odfafepnkmbhccpbejgmiehpchacaeak/dashboard.html#1p-filters.htmlSteps to Reproduce
Expected behavior
No error
Troubleshooting information