Official User Agent Format?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Toni

    Official User Agent Format?

    I've got a simple ASP script that logs access to a particular file. The access log is
    just a simple comma-delimited text file.

    I've been looking, but I can't find this info: what are the specifications for what a
    User Agent string can or cannot contain?

    I am PARTICULARLY interested in if a UA string is allowed to contain a comma ",". (I'm
    hoping that they cannot).

    Can anyone point me to a resource that will tell if a User Agent string can - or
    CANNOT - contain a comma?

    Thanks so much!

    Toni


  • Evertjan.

    #2
    Re: Official User Agent Format?

    Toni wrote on 06 aug 2008 in microsoft.publi c.inetserver.as p.general:
    I've got a simple ASP script that logs access to a particular file.
    The access log is just a simple comma-delimited text file.
    >
    I've been looking, but I can't find this info: what are the
    specifications for what a User Agent string can or cannot contain?
    >
    I am PARTICULARLY interested in if a UA string is allowed to contain a
    comma ",". (I'm hoping that they cannot).
    >
    Can anyone point me to a resource that will tell if a User Agent
    string can - or CANNOT - contain a comma?
    >
    Just replace() the comma with something else,
    if there never is a comma, it won't hurt.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    • Adrienne Boswell

      #3
      Re: Official User Agent Format?

      Gazing into my crystal ball I observed "Toni" <Toni24@yahoo.c omwriting
      in news:OL2esx#9IH A.6052@TK2MSFTN GP04.phx.gbl:
      I've got a simple ASP script that logs access to a particular file.
      The access log is just a simple comma-delimited text file.
      >
      I've been looking, but I can't find this info: what are the
      specifications for what a User Agent string can or cannot contain?
      >
      I am PARTICULARLY interested in if a UA string is allowed to contain a
      comma ",". (I'm hoping that they cannot).
      >
      Can anyone point me to a resource that will tell if a User Agent
      string can - or CANNOT - contain a comma?
      >
      Thanks so much!
      >
      Toni
      >
      >
      Here's a UA string from one of my logs, and yes, it contains a comma:
      Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us)
      AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1


      --
      Adrienne Boswell at Home
      Arbpen Web Site Design Services
      Arbpen Consulting will help you harness valuable insights and translate them into tangible results by merging data and strategy.

      Please respond to the group so others can share

      Comment

      • Toni

        #4
        Re: Official User Agent Format?

        "Adrienne Boswell" wrote...
        Gazing into my crystal ball I observed "Toni" writing...
        >
        I've got a simple ASP script that logs access to a particular file.
        The access log is just a simple comma-delimited text file.

        I've been looking, but I can't find this info: what are the
        specifications for what a User Agent string can or cannot contain?

        I am PARTICULARLY interested in if a UA string is allowed to contain a
        comma ",". (I'm hoping that they cannot).

        Can anyone point me to a resource that will tell if a User Agent
        string can - or CANNOT - contain a comma?

        Thanks so much!

        Toni
        >
        Here's a UA string from one of my logs, and yes, it contains a comma:
        Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us)
        AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1
        Very useful - thanks, Adrienne!!!

        Toni






        Comment

        Working...