Skip to content

Commit

Permalink
rewrite: add frameset/frame check for full rewrite regex (#165)
Browse files Browse the repository at this point in the history
bump to 3.7.12
  • Loading branch information
ikreymer authored Aug 8, 2024
1 parent 26a39e4 commit 3b8d78f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/wombat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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*</;
Expand Down

0 comments on commit 3b8d78f

Please sign in to comment.