-
- Downloads
Fix UTF-8 conversion issues when resolving conflicts
Similar to https://gitlab.com/gitlab-org/gitlab-ce/issues/63030, when the commit message in the /resolve_conflicts endpoint contains a UTF-8 character, the conversion to the Gitaly ASCII-8BIT value may flag an error. To fix this, we run `force_encoding` on the commit message. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63062
Showing
- changelogs/unreleased/sh-fix-utf-8-encoding-resolve-conflicts.yml 5 additions, 0 deletions...gs/unreleased/sh-fix-utf-8-encoding-resolve-conflicts.yml
- lib/gitlab/gitaly_client/conflicts_service.rb 1 addition, 1 deletionlib/gitlab/gitaly_client/conflicts_service.rb
- spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb 13 additions, 1 deletionspec/lib/gitlab/gitaly_client/conflicts_service_spec.rb
Please register or sign in to comment