views:

109

answers:

1

Hi all,

I have an URL in IFRAME with parameters like this:

<iframe src="http://www.example.com/id=123&amp;place=123"&gt;&lt;/iframe&gt;

Works perfectly on FF3+, IE6+ (believe in me) and Safari 4, but in Safari 5 is different. S5 changes the URL to http://www.example.com/id=123 &amp; place=123

Someone knows how can I do a workaround to solve this headache?

tks.

+1  A: 
Brian Campbell
manoelhc
In iframe, the external address has the same behavior of no parameters passed.
manoelhc
@manoelhc You're going to have to provide us with some more information in order to be able to help you. Can you provide the `https` URL which fails? Can you provide us with the headers you are seeing sent back from the server? It's possible that the site is doing something to try and block being loaded in an `<iframe>`, such as `X-Frame-Options:` http://blog.mozilla.com/security/2010/09/08/x-frame-options/ , which might be causing you problems on newer browsers.
Brian Campbell
manoelhc
@manoelhc That might be your only option; I don't know much about workarounds for that issue. You might try asking another question about that issue, or Googling for "safari iframe cookies" or something similar. From a quick search, it looks like there might be a workaround by doing a POST from within the iframe, but I can't guarantee that it will work.
Brian Campbell
Best provide a non-iframe-based normal link as backup for users who don't accept third-party cookies (which is more than just Safari users).
bobince