Skip to content

Commit 8443557

Browse files
committed
fix: iFrames can point to a blob, and they're not URLs
1 parent 77e80f1 commit 8443557

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

har2tree/har2tree.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ def _load_iframes(self, current: URLNode, frames: FramesResponse) -> None:
440440
if (frames.get('url')
441441
and not (frames['url'] in ['about:blank'] # not loading anything, same as empty
442442
or frames['url'].startswith('data') # base64 encoded content
443+
or frames['url'].startswith('blob') # blobs aren't URLs
443444
)):
444445
u = unquote_plus(frames['url'])
445446
# this url should be in a node directly attached to that one

0 commit comments

Comments
 (0)