You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5521405
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): Authorized clients names Edge, Firefox and Opera on phones correctly
The server labels a session's browser from its User-Agent, but only knew the
desktop tokens. Edge on Android (EdgA) showed as Chrome, and Edge, Firefox and
Opera on iOS (EdgiOS, FxiOS, OPiOS) showed as Safari. Match the same tokens the
web client already recognizes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
"Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36 EdgA/129.0.0.0",
31
+
"Edge",
32
+
],
33
+
[
34
+
"Edge on iOS",
35
+
"Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 EdgiOS/129.0.2792.84 Mobile/15E148 Safari/605.1.15",
36
+
"Edge",
37
+
],
38
+
[
39
+
"Firefox on iOS",
40
+
"Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/131.0 Mobile/15E148 Safari/605.1.15",
41
+
"Firefox",
42
+
],
43
+
[
44
+
"Opera on iOS",
45
+
"Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 OPiOS/5.0.0 Mobile/15E148 Safari/605.1.15",
46
+
"Opera",
47
+
],
48
+
])("labels %s by its own browser token",(_name,userAgent,browser)=>{
0 commit comments