• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xenforo user agent?

#1
hey, i was just wondering when i create a registered feed in xenforo, is there a specific user agent it uses when fetching feed data? im using a .htaccess file to filter certain kinds of redirects with certain user agents. thanks!
 

Jake Bunce

XenForo moderator
Staff member
#2
Without testing it, I think I found it in the code. The user-agent is this string:

Code:
Zend_Http_Client
Defined in this file:

library/Zend/Http/Client.php

Code:
    protected $config = array(
        'maxredirects'    => 5,
        'strictredirects' => false,
        'useragent'       => 'Zend_Http_Client',
        'timeout'         => 10,
        'adapter'         => 'Zend_Http_Client_Adapter_Socket',
        'httpversion'     => self::HTTP_1,
        'keepalive'       => false,
        'storeresponse'   => true,
        'strict'          => true,
        'output_stream'   => false,
        'encodecookies'   => true,
        'rfc3986_strict'  => false
    );