Skip to content

Commit

Permalink
Merge branch 'patrik-add-minarca-user-agent' into 'master'
Browse files Browse the repository at this point in the history
Add Minarca User-Agent detection

See merge request ikus-soft/rdiffweb!239
  • Loading branch information
ikus060 committed Aug 25, 2022
2 parents 35d000f + bf4e826 commit 311f693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdiffweb/templates/include/session.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
Internet Explorer
{% elif 'Trident/7.0;' in user_agent %}
Internet Explorer
{% elif 'minarca/' in user_agent %}
Minarca
{% else %}
{% trans %}Unknown{% endtrans %}
{% endif %}
Expand All @@ -29,7 +31,7 @@
Linux
{% elif 'X11' in user_agent %}
Unix
{% elif 'Mac' in user_agent %}
{% elif 'Mac' in user_agent or 'Darwin' in user_agent %}
MacOS
{% elif 'Windows' in user_agent %}
Windows
Expand Down

0 comments on commit 311f693

Please sign in to comment.