[Bugs] #2834 UNSP: navigator.userAgent does not identify OLPC/Sugar

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed May 11 04:09:01 EDT 2011


#2834: navigator.userAgent does not identify OLPC/Sugar
------------------------------------------+---------------------------------
    Reporter:  bert                       |          Owner:  lucian                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  Git as of bugdate          
    Severity:  Major                      |       Keywords:  dx2,dx3                    
Distribution:                             |   Status_field:  New                        
------------------------------------------+---------------------------------
Changes (by sascha_silbe):

  * distribution:  Unspecified =>
  * version:  Unspecified => Git as of bugdate
  * status_field:  Unconfirmed => New


Comment:

 Confirmed on Debian Squeeze. Some digging revealed that the Sugar version
 was previously set by hulahop
 ([http://git.sugarlabs.org/hulahop/mainline/blobs/master/data/prefs.js.in#line101
 prefs.js.in],
 [http://git.sugarlabs.org/hulahop/mainline/blobs/master/configure.ac#line3
 configure.ac]).

 There are several issues:
  1. Yielding incorrect version numbers since hulahop versions are not
 coupled to Sugar releases (anymore).
  1. Distributions replacing the Sugar version with their own custom string
 (e.g. {{{Debian/0.7.1-3+1}}})
  1. The setting from prefs.js not getting used at all: The user agent
 string received by the server is "Mozilla/5.0 (X11; U; Linux x86_64; en-
 US; rv:1.9.2.13) Gecko/20080724 Firefox/3.0".

 We should
  1. Figure out how to set the user agent within Browse and how to
 determine the "Sugar Platform" version the current system is supporting,
 and
  1. Release a new version of hulahop that removes the hardcoded Sugar
 version.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2834#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list