gitlab-org--gitlab-foss/spec/lib
Stan Hu 038be9fffa Fix Error 500s due to encoding issues when Wiki hooks fire
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
2018-08-29 09:46:46 -07:00
..
api
backup Remove feature flags from lib/backup 2018-07-31 15:24:19 +02:00
banzai Resolve "Wiki: links with spaces in the url render incorrectly with CommonMark" 2018-08-21 08:20:30 +00:00
bitbucket
bitbucket_server Deal with subpaths and trailing slashes properly 2018-07-31 21:14:36 -07:00
constraints
container_registry
gitaly Gitaly metrics check for read/writeability 2018-06-27 08:56:19 +02:00
gitlab Fix Error 500s due to encoding issues when Wiki hooks fire 2018-08-29 09:46:46 -07:00
google_api
json_web_token
mattermost Add helper methods to stub Gitlab::ExclusiveLease 2018-06-28 19:24:40 -03:00
microsoft_teams Fixes Microsoft Teams notifications for pipeline events 2018-06-12 13:32:11 +02:00
object_storage Fix Fog mocking 2018-06-05 16:48:42 +02:00
omni_auth/strategies Eliminate constants warnings by: 2018-06-01 13:46:46 +08:00
rspec_flaky
system_check Refactor Rainbow usage in specs 2018-08-16 21:31:19 +02:00
after_commit_queue_spec.rb
event_filter_spec.rb
expand_variables_spec.rb
extracts_path_spec.rb Fix handling of annotated tags when Gitaly is not in use 2018-07-09 06:30:19 -07:00
feature_spec.rb Fixed stub_feature_flag behavior for disabled? flags. 2018-08-22 05:41:15 +02:00
file_size_validator_spec.rb
forever_spec.rb
gitlab_spec.rb
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb Fix filename for accelerated uploads 2018-07-18 14:21:32 +00:00