Iframe URLs that does not end with “/”
-
Hey,
I tried searching but I couldnt find anything.
It seems the js matcher for iframe domains always adds a trailing slash. So if I add
https://example.com
as my approved URL it matches it againsthttps://example.com/
.But I have an iframe that is dynamically loaded using js and the src is something like
https://example.com?_=0.3833552471334518&ref=&language=
If I add
https://example.com
I get no errors in the console of blocked content. But I still get the plugin error screen covering the iframe. (The iframe is loaded behind it).If I add
https://example.com*
I get errors from Safari saying"The source list for Content Security Policy directive 'frame-src' contains an invalid source: 'https://theiframedomain.com*'. It will be ignored."
, the content is blocked, but I don’t get the plugin error covering the frame.Is there someway to get around this? The only workaround I have now is to add
https://*
to allow all domains. That seems to do the trick. It doesnt give me any errors in Safari, and I dont get the js erThe embedding is from workbuster (.com) and I dont think I can get them to change the iframe URL to something not dynamic.
Is there some way to fix this? ??
Regards,
David
- The topic ‘Iframe URLs that does not end with “/”’ is closed to new replies.