summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flatz2014-02-17 18:17:55 +0100
committerDavid Flatz2014-02-17 18:19:53 +0100
commit322408b21abd544d48c0026b3ce4ed7b0739192a (patch)
tree1026919d0232b1937c8d746c0e98341c95e1e062
parent2225339ece6ca6bf479abe3b176624fe98c034a2 (diff)
downloaditools-322408b21abd544d48c0026b3ce4ed7b0739192a.tar.gz
itools-322408b21abd544d48c0026b3ce4ed7b0739192a.tar.bz2
itools-322408b21abd544d48c0026b3ce4ed7b0739192a.zip
modernize user-agent
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
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
);