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

xenforo user agent?

Discussion in 'XenForo Questions and Support' started by electrogypsy, Mar 21, 2012.

  1. electrogypsy

    electrogypsy Active Member

    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!
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Without testing it, I think I found it in the code. The user-agent is this string:

    Defined in this file:


        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
  3. electrogypsy

    electrogypsy Active Member

    thank you! can anyone else confirm this?

Share This Page