From afbeb14b3066b4e1d572b8504fa97bd65e7dc9fe Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 3 Jul 2026 18:39:32 -0400 Subject: [PATCH 1/2] Add missing test against `null` object Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/4047 --- src/js/jsonpath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/jsonpath.js b/src/js/jsonpath.js index a082544b3cea6..53d9d9b0cd7dc 100644 --- a/src/js/jsonpath.js +++ b/src/js/jsonpath.js @@ -350,7 +350,7 @@ export class JSONPath { return listout; } #expandKey(owner, k) { - if ( typeof owner !== 'object' ) { return; } + if ( typeof owner !== 'object' || owner === null ) { return; } if ( Array.isArray(k) ) { const out = []; for ( const a of k ) { From 3d370ea1603988bf678d7c5f621f161925fc36d9 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 8 Jul 2026 08:36:18 -0400 Subject: [PATCH 2/2] New revision for stable release --- dist/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/version b/dist/version index cad2ef94fa347..d8713280d1246 100644 --- a/dist/version +++ b/dist/version @@ -1 +1 @@ -1.72.0 \ No newline at end of file +1.72.2 \ No newline at end of file