SimpleBrowserDotNet / SimpleBrowser

A flexible and intuitive web browser engine designed for automation tasks. Built on .NET Standard 2.1.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IFrame src attribute with CR/LFs Parsed Incorrectly

kevingy opened this issue · comments

Consider this iframe:

<iframe src="https://bs.serving-sys.com/BurstingPipe?
cn=ot&amp;
onetagid=7128&amp;
ns=1&amp;
activityValues=$$Session=[Session]$$&amp;
retargetingValues=$$$$&amp;
dynamicRetargetingValues=$$$$&amp;
acp=$$$$&amp;"
style="display:none;width:0px;height:0px"></iframe>
</noscript>

When parsed, the value of the src attribute is

https://bs.serving-sys.com/BurstingPipe?

(That is, parsing stops at the CR/LF.) The value should be the entire URL, with the CR/LFs and any other white space removed.