[PR #2779] [MERGED] [PM-3737] Remove client version suffix sent to server #23180

Closed
opened 2026-04-16 23:19:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2779
Author: @fedemkr
Created: 9/18/2023
Status: Merged
Merged: 9/18/2023
Merged by: @fedemkr

Base: feature/PM-115-encryption-update-new-modelHead: vault/pm-3737/remove-client-version-suffix-sent-to-server


📝 Commits (1)

  • 1a4cf27 PM-3737 Remove suffix on client version sent to server

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 src/Core/Services/ApiService.cs (+1 -1)
📝 src/Core/Utilities/VersionHelpers.cs (+4 -4)

📄 Description

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Remove the suffix on the client version when sending it to the server on the ApiService.

Code changes

  • ApiService: Remove suffix on client version default HttpClient header.
  • VersionHelpers: Added helper to remove and return the string version without the suffix.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/2779 **Author:** [@fedemkr](https://github.com/fedemkr) **Created:** 9/18/2023 **Status:** ✅ Merged **Merged:** 9/18/2023 **Merged by:** [@fedemkr](https://github.com/fedemkr) **Base:** `feature/PM-115-encryption-update-new-model` ← **Head:** `vault/pm-3737/remove-client-version-suffix-sent-to-server` --- ### 📝 Commits (1) - [`1a4cf27`](https://github.com/bitwarden/android/commit/1a4cf2758a9c544f438348c0d39c0e34719fcfa4) PM-3737 Remove suffix on client version sent to server ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Services/ApiService.cs` (+1 -1) 📝 `src/Core/Utilities/VersionHelpers.cs` (+4 -4) </details> ### 📄 Description ## Type of change - [X] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Remove the suffix on the client version when sending it to the server on the `ApiService`. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **ApiService:** Remove suffix on client version default HttpClient header. * **VersionHelpers:** Added helper to remove and return the string version without the suffix. ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 23:19:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#23180