User agent format fails localization on Safari 15.6.2

We have a problem with the user agent of Safari on our iPad fleet. The user agent is formatted like so :

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6,2 Safari/605.1.15

Our useragent validation fails because of the comma in Safari's version number. For information all our iPads are configured in french.

Post not yet marked as solved Up vote post of frsimond Down vote post of frsimond
1.3k views