Still I use the default WordPress way to encode urls: esc_url
Normally browsers handle this properly as src in iframes. I have this everywhere in my demos and there it works fine. I need to check your example tomorrow as today I do not have time anymore.
Best regards,
Michael
Hi,
I tested and when I pass ?authorize=8QSDNU&units=1,3,9,12,16 to a testpage then the _GET variable does contain
[authorize] => 8QSDNU
[units] => 1,3,9,12,16
So this looks fine for me.
The url is example_fixed.php?authorize=8QSDNU&units=1%2C3%2C9%2C12%2C16 in the code itself.
So how is the page parsed? Maybe the url is not parsed how it should be...
Best regards,
Michael
If you like you can remove the encoding to test if it makes a difference.
go to advanced-iframe/includes/advanced-iframe-main-iframe.php -> search for
esc_url(trim($src))
and replace it with
trim($src)
Best regards, Michael
Thanks Michael, I'll have a play and contact the guys who provide the weather station url. You have been very helpful and that is much appreciated 👍
You are welcome