* George Mitchell <[EMAIL PROTECTED]> writes:
> Thomas Fernandez wrote:
>> Mark Partous wrote:

[ User-Agent string ]

>> Why should it not be allowed?
[...]

> I'm having a hard time finding an RFC that covers this.  The best I've
> come up with is a draft RFC for News articles:

It's RFC 2616.

,----
| 14.43 User-Agent
| [...]
|        User-Agent     = "User-Agent" ":" 1*( product | comment )
| 
| 3.8 Product Tokens
| [...]
|        product         = token ["/" product-version]
|        product-version = token
| 
| 2.2 Basic Rules
| [...]
|        token          = 1*<any CHAR except CTLs or separators>
|        separators     = "(" | ")" | "<" | ">" | "@"
|                       | "," | ";" | ":" | "\" | <">
|                       | "/" | "[" | "]" | "?" | "="
|                       | "{" | "}" | SP | HT
| 
|        comment        = "(" *( ctext | quoted-pair | comment ) ")"
|        ctext          = <any TEXT excluding "(" and ")">
| 
|        quoted-pair    = "\" CHAR
| 
|        CHAR           = <any US-ASCII character (octets 0 - 127)>
|        CTL            = <any US-ASCII control character
|                         (octets 0 - 31) and DEL (127)>
|        CR             = <US-ASCII CR, carriage return (13)>
|        LF             = <US-ASCII LF, linefeed (10)> 
|        SP             = <US-ASCII SP, space (32)>
|        HT             = <US-ASCII HT, horizontal-tab (9)>
|        
|        CRLF           = CR LF
|  
|        LWS            = [CRLF] 1*( SP | HT )
| 
|        TEXT           = <any OCTET except CTLs,
|                         but including LWS>
`----

So, it seems like "s and spaces are not allowed for the product
string. Unfortunately The Bat! contains a space.

User-Agent: TheBat!/2.01.49 (The Bat! (v2.01.49) Business)

Carsten
-- 


________________________________________________
Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to