Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mattermost client for Android reports User-Agent as okhttp/4.12.0 #7831

Open
duncan-bayne opened this issue Feb 15, 2024 · 0 comments
Open
Assignees

Comments

@duncan-bayne
Copy link

Summary

Mattermost client for Android reports User-Agent as okhttp/4.12.0, not a Mattermost-specific user agent like the iOS and Desktop clients.

Steps to reproduce

  1. Set up a https://mitmproxy.org/ proxy to log HTTP queries.
  2. Configure Android device to use the proxy and CA certs created in step 1.
  3. Open the Android Mattermost app.
  4. Tap the Servers icon.
  5. Tap the Add a server button.
  6. Enter the server URL.
  7. Enter a display name.
  8. Click Connect.
Server versions

Mattermost Version: 9.4.2
Database Schema Version: 117
Build Number: 7586560796
Database: postgres

Client versions

Android 2.12.2
Google Pixel 4
Android 13 (LineageOS 20)

Expected behavior

At step 8, I'd expect to see HTTP requests with a User-Agent header containing some variant of the string "Mattermost". This is how the iOS app behaves.

Observed behavior (that appears unintentional)

I see HTTP requests with a User-Agent header containing "okhttp/4.12.0".

@pvev pvev self-assigned this Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants