You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
This relates with issue #98 and the fix done for it.
We just came across some calls being made that got broken when we upgraded from v1 to v2.
The code we found coming from the adserver is something like this:
function(u,t){// u = "http://example.com?foo=bar&a=1"; t = falsevara=document.createElement('script');a.src=u;a.async=t;t ? document.appendChild(a) : document.write(a.outerHTML);}
This worked fine in v1 but now it's broken because the browser returns that outerHTML escaped.
If you run the code straight into a browser or through v1.4.0 it works normally and the ending url is correct (unescaped). If, however, you pass the code through postscribe v2 you end up with "http://example.com?foo=bar&a=1" as the url for the script tag which obviously causes some issues.
The text was updated successfully, but these errors were encountered:
This relates with issue #98 and the fix done for it.
We just came across some calls being made that got broken when we upgraded from v1 to v2.
The code we found coming from the adserver is something like this:
This worked fine in v1 but now it's broken because the browser returns that outerHTML escaped.
If you run the code straight into a browser or through v1.4.0 it works normally and the ending url is correct (unescaped). If, however, you pass the code through postscribe v2 you end up with
"http://example.com?foo=bar&a=1"
as the url for the script tag which obviously causes some issues.The text was updated successfully, but these errors were encountered: