038be9fffa
Saved Wiki content goes through the GitalyClient::WikiService, which calls StringIO#set_encoding on the input stream. The problem is that this call mutates the encoding of the given string object to ASCII-88BIT, which causes problems for models expecting the data to still be in UTF-8. Freezing the input disables this behavior: https://github.com/ruby/ruby/blob/v2_4_4/ext/stringio/stringio.c#L1583 Closes #50590 |
||
---|---|---|
.. | ||
api | ||
backup | ||
banzai | ||
bitbucket | ||
bitbucket_server | ||
constraints | ||
container_registry | ||
gitaly | ||
gitlab | ||
google_api | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
object_storage | ||
omni_auth/strategies | ||
rspec_flaky | ||
system_check | ||
after_commit_queue_spec.rb | ||
event_filter_spec.rb | ||
expand_variables_spec.rb | ||
extracts_path_spec.rb | ||
feature_spec.rb | ||
file_size_validator_spec.rb | ||
forever_spec.rb | ||
gitlab_spec.rb | ||
milestone_array_spec.rb | ||
system_check_spec.rb | ||
uploaded_file_spec.rb |