From 322408b21abd544d48c0026b3ce4ed7b0739192a Mon Sep 17 00:00:00 2001 From: David Flatz Date: Mon, 17 Feb 2014 18:17:55 +0100 Subject: modernize user-agent --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') diff --git a/it_url.class b/it_url.class index d63e332..c6c84f2 100644 --- a/it_url.class +++ b/it_url.class @@ -291,7 +291,7 @@ function request($p=array()) $p['headers'] = (array)$p['headers'] + array( 'Host' => $url->realhostname . ($url->port != 80 ? ":" . $url->port : ''), - 'User-Agent' => "Mozilla/4.0 (compatible; MSIE 7.0; ITools)", + 'User-Agent' => "Mozilla/5.0 (compatible; MSIE 9.0; ITools)", 'Accept-Language' => $p['headers']['Accept-Language'] ?: T_lang(), # can prevent loading of it_text ); -- cgit v1.2.3