Skip to content

Commit

Permalink
Fix a UA icon invalid character (#1832)
Browse files Browse the repository at this point in the history
* Thougth something looked awry. May be others like this floating around *useragent* dep.

Post 95b2db8 #764

Auto-merge
  • Loading branch information
Martii authored Aug 6, 2021
1 parent 95b2db8 commit 6cc6923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/modelParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ var parseSession = function (aSession) {

oujsOptions.remoteAddressMask = oujsOptions.remoteAddress;
oujsOptions.userAgentFamily = useragent
.parse(oujsOptions.userAgent).family.toLowerCase().replace(/\s+/g, '-');
.parse(oujsOptions.userAgent).family.toLowerCase().replace(/[\s\/]+/g, '-');
parseDateProperty(oujsOptions, 'since');

cookie.sameSiteStrict = cookie.sameSite === 'strict';
Expand Down
2 changes: 1 addition & 1 deletion public/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ ul.flaggedList {
background: transparent url("/images/ua/rekonq16.png") no-repeat left top;
color: transparent;
}
.ua-safari, .ua-mobile-safari, .ua-mobile-safari-ui/wkwebview {
.ua-safari, .ua-mobile-safari, .ua-mobile-safari-ui-wkwebview {
background: transparent url("/images/ua/safari16.png") no-repeat left top;
color: transparent;
}
Expand Down

0 comments on commit 6cc6923

Please sign in to comment.