Error parsing version string

This doesn't seem to be affecting functionality, but I'm seeing an error in the server log when using Chrome to access my server:

Error parsing version string 58.0.3029.81 safari/537.36: Syntax error

The actual UA string being sent is:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36

Comments

  • I see where it happens. Parser expects major.minor.patch and chrome has a 4th level now. Will make it ignore anything after 3rd value instead of failing.

    And yes, it just returns a version 58.0 and only issues the message. Error occurs on parsing 3rd part.

    Thanks.
Sign In or Register to comment.