Test: /ext/curl/tests/curl_basic_008.phpt - Version 5.3.28    

There are 9 different diffs reported by users for this test.

Count Diff
2 (20%)
001+ <!Doctype html><html xmlns="http://www.w3.org/1999/xhtml">
002+ <head>
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
003+ <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
004+ <title></title>
005+ </head>
006+ <script type="text/javascript">
007+ var h=window.location.host;
008+ var host_block = [
009+ 'w2nba.com',
010+ 'yngpye20.com',
011+ 'ucaoadult.com',
012+ 'letoulebocailuntannr.com',
013+ 'ztgame.com',
014+ 'uobgroup.com',
015+ 'www12345bo.com',
016+ 'uobgroup.com',
017+ '2tu.cc',
018+ 'cnvcs.com',
019+ 'guofs.com',
020+ 'tk660.com',
021+ 'amazon.com',
022+ 'javhd.com',
023+ 'w2nba.com',
024+ 'ynmg.gov',
025+ 'sgamer.com',
026+ 'exoclick.com'
027+ ];
028+
029+ var i=0;
030+ var find=0;
031+ for(i=0;i<host_block.length;i++){
032+ if(h.indexOf(host_block[i])>=0){
033+ find=1;
034+ break;
035+ }
036+ }
037+ if(find){
038+ //window.location="http://127.0.0.1";
039+ }
040+ else
041+ window.location="http://search.114so.cn/search_web.html?id=1094&kw="+h;
042+
043+
044+
045+ </script>
046+ </body></html>
047+ string(0) ""
048+ int(0)
1 (10%)
001+ string(74) "Could not resolve: www.5639ac3fb88d6.5639ac3fb8c2a (Domain name not found)"
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
1 (10%)
001+ string(74) "Could not resolve: www.53860d81567b7.53860d8156869 (Domain name not found)"
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
1 (10%)
001+ string(0) ""
002+ int(0)
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
1 (10%)
001+ <html>
002+ <head>
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
003+ <meta http-equiv="refresh" content="0; url=http://123.134.186.240" />
004+ </head>
005+ <body>
006+ </body>
007+ </html>
008+ string(0) ""
009+ int(0)
1 (10%)
001+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
002+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
003+ <head><META HTTP-EQUIV="pragma" CONTENT="no-cache">
004+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
005+ <META HTTP-EQUIV="expires" CONTENT="0">
006+ <script type="text/javascript">
007+ var pp = "164&pre="+(new Date()).getTime();
008+ var s=String(window.location.href); var host=escape(s.substring(7,s.indexOf('/',7)));
009+ var ref=escape(document.referrer); s = escape(s);
010+ var su = s+"&host="+host+"&refer="+ref+"&server="+pp;
011+ var ifmurl;
012+ if (self.location == top.location){ ifmurl= "dnsA.aspx?AIMT="; }
013+ else { ifmurl= "dnsB.aspx?AIMT="; }
014+ document.location= "http://sh.114so.cn/" + ifmurl + su;
015+ </script>
016+ string(0) ""
017+ int(0)
1 (10%)
001+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
002+ <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
003+ <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
004+ <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
005+ </HEAD><BODY>
006+ <H2>The requested URL could not be retrieved</H2>
007+ <HR noshade size="1px">
008+ <P>
009+ While trying to retrieve the URL:
010+ <A HREF="http://www.55a72c5e37aed.55a72c5e37b32/">http://www.55a72c5e37aed.55a72c5e37b32/</A>
011+ <P>
012+ The following error was encountered:
013+ <BLOCKQUOTE>
014+ Unable to determine IP address from host name for
015+ <I>www.55a72c5e37aed.55a72c5e37b32</I>
016+ </BLOCKQUOTE>
017+
018+ <P>
019+ The dnsserver returned:
020+ <BLOCKQUOTE>
021+ Name Error: The domain name does not exist.
022+ </BLOCKQUOTE>
023+
024+ <P>
025+ This means that:
026+ <PRE>
027+ The cache was not able to resolve the hostname presented in the URL.
028+ Check if the address is correct.
029+ </PRE>
030+ <P>Your cache administrator is <A HREF="mailto:syssupport@classicinformatics.com">syssupport@classicinformatics.com</A>.
031+
032+ <BR clear="all">
033+ <HR noshade size="1px">
034+ <ADDRESS>
035+ Generated Thu, 16 Jul 2015 09:30:06 GMT by localhost.localdomain (squid/2.6.STABLE21)
036+ </ADDRESS>
037+ </BODY></HTML>
038+ string(0) ""
039+ int(0)
1 (10%)
001+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
002+ <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)
003+ <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
004+ <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
005+ </HEAD><BODY>
006+ <H2>The requested URL could not be retrieved</H2>
007+ <HR noshade size="1px">
008+ <P>
009+ While trying to retrieve the URL:
010+ <A HREF="http://www.530e9ca91cb1e.530e9ca91cb7c/">http://www.530e9ca91cb1e.530e9ca91cb7c/</A>
011+ <P>
012+ The following error was encountered:
013+ <BLOCKQUOTE>
014+ Unable to determine IP address from host name for
015+ <I>www.530e9ca91cb1e.530e9ca91cb7c</I>
016+ </BLOCKQUOTE>
017+
018+ <P>
019+ The dnsserver returned:
020+ <BLOCKQUOTE>
021+ Name Error: The domain name does not exist.
022+ </BLOCKQUOTE>
023+
024+ <P>
025+ This means that:
026+ <PRE>
027+ The cache was not able to resolve the hostname presented in the URL.
028+ Check if the address is correct.
029+ </PRE>
030+ <P>Your cache administrator is <A HREF="mailto:admin@hueuni.edu.vn">admin@hueuni.edu.vn</A>.
031+
032+ <BR clear="all">
033+ <HR noshade size="1px">
034+ <ADDRESS>
035+ Generated Thu, 27 Feb 2014 01:48:44 GMT by proxy.hueuni.edu.vn (squid/2.7.STABLE3)
036+ </ADDRESS>
037+ </BODY></HTML>
038+ string(0) ""
039+ int(0)
1 (10%)
001+ ** ERROR: process timed out **
001- %unicode|string%(%d) "%r(Couldn't resolve host|Could not resolve host:)%r %Swww.%s"
002- int(6)