From ff2f1da12733a0d1d63305b483f1f45d4da8695c Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Thu, 8 Aug 2024 14:18:39 -0700 Subject: [PATCH] rewrite: add frameset/frame check for full rewrite regex bump to 3.7.12 --- package.json | 2 +- src/wombat.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aaf5581..00f6eb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webrecorder/wombat", - "version": "3.7.11", + "version": "3.7.12", "main": "index.js", "license": "AGPL-3.0-or-later", "author": "Ilya Kreymer, Webrecorder Software", diff --git a/src/wombat.js b/src/wombat.js index eeb0bd6..33f0217 100755 --- a/src/wombat.js +++ b/src/wombat.js @@ -264,7 +264,7 @@ function Wombat($wbwindow, wbinfo) { this.IP_RX = /^(\d)+\.(\d)+\.(\d)+\.(\d)+$/; /** @type {RegExp} */ - this.FullHTMLRegex = /^\s*<(?:html|head|body|!doctype html)/i; + this.FullHTMLRegex = /^\s*<(?:html|head|body|frameset|frame|!doctype html)/i; /** @type {RegExp} */ this.IsTagRegex = /^\s*