Bug Report: 149973 Date: 2004-08-19 Note: Syntax error fixed in 7.60p2 (build 7263). Version: Opera 7.54/Windows98/PC Build: 3865 Brief Summary: Opera's 'User-Agent:' header violates RFC 2616. Severity: Spec violation Part affected: Unknown/not listed URL: - Detailed description: Opera's 'User-Agent:' header violates RFC 2616. * Samples: User-Agent: Opera/7.54 (Windows 98; U) [en] User-Agent: Mozilla/5.0 (Windows 98; U) Opera 7.54 [en] * RFC 2616 says: User-Agent = "User-Agent" ":" 1*( product | comment ) comment = "(" *( ctext | quoted-pair | comment ) ")" product = token ["/" product-version] product-version = token token = 1* separators = "(" | ")" | "<" | ">" | "@" | "," | ";" | ":" | "\" | <"> | "/" | "[" | "]" | "?" | "=" | "{" | "}" | SP | HT 1: Syntax violation: "[en]" is a syntax violation because the "[" and "]" are not allowed in a 'token'. 2: Semantic error: "Opera 7.54" is syntactically correct but contain a semantic error: "7.54" is the 'product-version', so it should read "Opera/7.54" instead. Steps to reproduce the bug: - E-mail: See: mailto.txt