You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/03/24 03:16:32 UTC

[Bug 121947] New: webdav ucp: set a default user agent

https://issues.apache.org/ooo/show_bug.cgi?id=121947

            Bug ID: 121947
        Issue Type: DEFECT
           Summary: webdav ucp: set a default user agent
    Classification: Code
           Product: General
           Version: AOO 3.4.0
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: arielch@apache.org
                CC: issues@openoffice.apache.org

many sites require that HTTP request are sent by clients setting the User-Agent
header.
OpenOffice should set a default user agent string in every requests, unless
client code explicitly has done that
(css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders()).

Example of user agent strings:

* "Mozilla/5.0 (X11; Linux x86_64; en_US) AppleWebKit/534.34 (KHTML, like
Gecko) knetattach/4.9.5 Safari/534.34"
* "curl/7.27.0"
* "Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0"
* "Apache/2.4.3 (Fedora) OpenSSL/1.0.1e-fips PHP/5.4.12 mod_wsgi/3.4
Python/2.7.3 mod_perl/2.0.8-dev Perl/v5.16.2 (internal dummy connection)"
* "urlgrabber/3.9.1 yum/3.4.3"

The format is defined in http://tools.ietf.org/html/rfc2616#section-14.43

       User-Agent     = "User-Agent" ":" 1*( product | comment )

Example:

       User-Agent: CERN-LineMode/2.15 libwww/2.17b3

For OpenOffice, we could use:

"OpenOffice/4.0.0"

It might be useful to provide information about the libraries:

"OpenOffice/4.0.0 apr/1.4.5 apr-util/1.4.1 serf/1.2.0"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121947] webdav ucp: set a default user agent

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121947

--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"arielch" committed SVN revision 1460360 into trunk:
i121947 - Default User-Agent

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121947] webdav ucp: set a default user agent

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121947

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
           Assignee|issues@openoffice.apache.or |arielch@apache.org
                   |g                           |
   Target Milestone|---                         |AOO 4.0

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Fixed on trunk

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.