[racktables-users] Re: Warranty check with local.php

  • From: Mateusz Blaszczyk <blahu77@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 25 Aug 2009 15:06:00 +0100

On Tue, Aug 25, 2009 at 12:40:49PM +0000, Killsystem wrote:
> Couldn't reproduce this error.

Thanks for your time :)

> Tried 0.17.3 and 0.17.4 and with every version all the links work like a
> charm.
> I tried IE7, Firefox 3.0.13 and Firefox 3.5.2.
> Could you tell me which homepage loads not in iframe? And maybe send me the
> sourecode of that page. Optimal try a "wget link -O error.html" and send me
> the error.html (Don't forget to delte personal/company related data before
> sending it)
> 


This was the problem at least with the dell open manage service where
additional javascript changes the location.href variable...

-*- snip -*-

<HTML xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript">
                            if (window != top) {
                            // Load page in the top frame.
                            top.location.href = window.location.href
                            }
                          </script>
<title>Dell OpenManage </title>
</head>
<frameset framespacing="0" frameborder="no" border="0"
rows="19,57,30,*">
<frame noresize framespacing="0" frameborder="no" marginwidth="0"
marginheight="0" scrolling="no" name="gnv"
src="/servlet/GlobalNavBarServlet?login=true">
<frameset framespacing="0" frameborder="no" border="0" cols="165,*">
<frame noresize framespacing="0" frameborder="no" marginwidth="0"
marginheight="0" scrolling="no" name="logo" src="/servlet/ULogo">
<frame noresize framespacing="0" frameborder="no" marginwidth="0"
marginheight="0" scrolling="no" name="SystemInfo"
src="/servlet/USysInfo?login=true">
</frameset>
<frame noresize framespacing="0" frameborder="no" marginwidth="0"
marginheight="0" scrolling="no" name="snb" src="/servlet/UServerName">
<frame framespacing="0" frameborder="no" marginwidth="0"
marginheight="0" scrolling="no" name="login"
src="/servlet/Login?omacmd=getlogin&page=Login">
</frameset>
<noframes></noframes>
</HTML>

-*- snip -*-

Unfortunately taking the subframe url doesn't fix it as it is repeated 
after user logs in...


Another example is mediawiki (1.11.2), where the url is changed with HTTP 
redirect.
Is there any way to keep it within the iframe?


$ wget -S  --no-check-certificate
https://XXXXXXXXXXXXXX/wiki/Special:Search?search=AAAAA  
--14:54:25--  https://XXXXXXXXXXXXXX/wiki/Special:Search?search=AAAAA
           => `Special:Search?search=AAAAA'
Resolving XXXXXXXXXXXXXX... 1.1.1.1
Connecting to XXXXXXXXXXXXXX|1.1.1.1|:443... connected.
WARNING: Certificate verification error for XXXXXXXXXXXXXX: unable to
get local issuer certificate
HTTP request sent, awaiting response... 
  HTTP/1.1 302 Found
  Date: Tue, 25 Aug 2009 13:53:19 GMT
  Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch
mod_ssl/2.2.8 OpenSSL/0.9.8g
  X-Powered-By: PHP/5.2.4-2ubuntu5.6
  Vary: Accept-Encoding,Cookie
  Expires: Thu, 01 Jan 1970 00:00:00 GMT
  Cache-Control: private, must-revalidate, max-age=0
  Location: https://XXXXXXXXXXXXXX/wiki/AAAAA
  Content-Length: 0
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: text/html; charset=utf-8
Location: https://XXXXXXXXXXXXXX/wiki/AAAAA [following]

--14:54:25--  https://XXXXXXXXXXXXXX/wiki/AAAAA
           => `AAAAA'
Reusing existing connection to XXXXXXXXXXXXXX:443.
etc...





> gretz Killsystem
> 

Best regards, 

-mat


-- 
Mateusz Blaszczyk

pgp-key 0x64643FCE

Other related posts: