<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18295</bug_id>
          
          <creation_ts>2008-04-02 23:17:06 -0700</creation_ts>
          <short_desc>Include major OS revision in user agent</short_desc>
          <delta_ts>2008-06-18 00:22:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://bugzilla.mozilla.org/show_bug.cgi?id=400089</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Tom">me.at.work</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gavin.sharp</cc>
    
    <cc>jruderman</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76214</commentid>
    <comment_count>0</comment_count>
    <who name="Tom">me.at.work</who>
    <bug_when>2008-04-02 23:17:06 -0700</bug_when>
    <thetext>Version 3.1 (5525.13)

To achieve parity with the upcoming Firefox 3, Safari should have the major OS revision in the user agent.

This can be helpful to the user in many areas, such as if a site had a download for Tiger, and a newer version for Leopard that includes new technologies not available in Tiger, by detecting the user is on Tiger they can opt to suggest the proper download (much like www.getfirefox.com does for OS detection).  This makes things easier for mere mortals who don&apos;t know about their OS version, just that they want this piece of software.

The Mozilla Bugzilla bug has been linked in the URL field.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76215</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2008-04-02 23:47:25 -0700</bug_when>
    <thetext>The OS version was added to the default UA string in &lt;http://trac.webkit.org/projects/webkit/changeset/28499&gt;, which actually includes the bugfix version and not just the major release version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76216</commentid>
    <comment_count>2</comment_count>
    <who name="Tom">me.at.work</who>
    <bug_when>2008-04-02 23:56:47 -0700</bug_when>
    <thetext>Matt: Ahh, I&apos;d gotten confused by this:
http://trac.webkit.org/projects/webkit/changeset/22701

I blame trac search, I should have checked useragent.org first:
Your User Agent is: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13

Is there a bug for a page like about: then, that tells you your UA?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76217</commentid>
    <comment_count>3</comment_count>
    <who name="Jesse Ruderman">jruderman</who>
    <bug_when>2008-04-03 00:02:39 -0700</bug_when>
    <thetext>Indeed, http://delorie.com:81/ says the Safari included with Tiger is:

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13

Interesting bit about dots vs underscores in the commit message for http://trac.webkit.org/projects/webkit/changeset/28499.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83720</commentid>
    <comment_count>4</comment_count>
    <who name="Tom">me.at.work</who>
    <bug_when>2008-06-17 18:18:59 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Indeed, http://delorie.com:81/ says the Safari included with Tiger is:
&gt; 
&gt; User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en)
&gt; AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13

I see 3.1, and Tiger came with Safari 2.  You upgraded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83743</commentid>
    <comment_count>5</comment_count>
    <who name="Jesse Ruderman">jruderman</who>
    <bug_when>2008-06-18 00:10:27 -0700</bug_when>
    <thetext>By &quot;Tiger&quot; I mean &quot;the current version of Tiger&quot;.  It includes Safari 3.1.1 now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83744</commentid>
    <comment_count>6</comment_count>
    <who name="Tom">me.at.work</who>
    <bug_when>2008-06-18 00:22:12 -0700</bug_when>
    <thetext>Ah, so 10.4.11 does include Safari 3.
http://docs.info.apple.com/article.html?artnum=306297
Did not know that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>