Hello Daz, This one should work. Mozilla/{mozillaVersion} ({osData}; {agentOs}) AppleWebKit/{appleWebKitVersion} ({appleWebKitComment}) Chrome/{chromeData} Safari/{safariData} {agentName}/{agentVersion} {facultativeData}
I've noticed two mistakes in your template: 1/ this part of the template : ({osData}Windows; U; {agentOs}) can't match "Windows NT 6.1; WOW64" 2/ the template is case sensitive: "AppleWebKit" instead of "AppleWebkit" >Could you provide an updated agent.properties file? I've updated with your template, and I've added an issue for that: https://github.com/restlet/restlet-framework-java/issues/915 Best regards, Thierry Boileau 2014-05-08 13:40 GMT+02:00 Daz <dazito1...@gmail.com>: > Hi, > > Could you provide an updated agent.properties file? > > It looks kinda outdated. > > Example: there is the new Opera that is detected as Chrome and not Opera. > > I tried to manually update the agent.properties file to reflect the new > Opera version but to no success. Still detected as Chrome. > > Here is what I added to agent.properties file to reflect the new Opera: > > #NewOpera for Windows > Mozilla/{mozillaVersion} ({osData}Windows; U; {agentOs}) > AppleWebkit/{appleWebKitVersion} (appleWebKitComment) Chrome/{chromeData} > Safari/{safariData} {agentName}/{agentVersion} > > > What did I do wrong? > > From my tests (fresh install) on Windows, the new Opera user agent is: > Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/34.0.1847.132 Safari/537.36 OPR/21.0.1432.57 (Edition Campaign 48) > > > Thanks. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3077839 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3077881