gitlab-ce/lib
Stan Hu 7a5c4cd0ca Fix SystemStackError when Peek bar is active with Rugged calls
Peek attempts to serialize results with `to_json`, which calls
`ActiveSupport::JSON`. If an object is passed to `to_json` that contains
instance variables, `ActiveSupport` will attempt to recursively traverse
all variables.

The problem is that we can get into an infinite loop if the instance
references to an instance that references to something else that points
back to the same instance.

To avoid this mess, we just call `to_s` on the object. It appears only
`Gitlab::Git::Repository` and `::Repository` are the culprits here.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65404
2019-07-31 15:47:19 -07:00
..
api Add support page link in help menu 2019-07-30 17:03:17 +00:00
assets
backup Remove dead MySQL code 2019-07-23 16:53:03 +01:00
banzai Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-07-29 13:19:50 -05:00
bitbucket
bitbucket_server
constraints
container_registry Explicitly reject non http(s) schemes 2019-07-29 19:20:30 -03:00
declarative_policy
feature Remove catfile cache feature flag 2019-07-15 11:32:56 -07:00
flowdock
generators/rails/post_deployment_migration
gitaly Add Gitaly data to the usage ping 2019-06-20 15:26:56 +02:00
gitlab Merge branch 'add-project-scope-to-live-trace-feature-flag' into 'master' 2019-07-31 13:30:06 +00:00
google_api
json_web_token
mattermost Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
microsoft_teams Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
object_storage
omni_auth/strategies
peek/views Fix SystemStackError when Peek bar is active with Rugged calls 2019-07-31 15:47:19 -07:00
prometheus Fix pid discovery for Unicorn in PidProvider 2019-07-26 15:02:21 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rouge
rspec_flaky Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
safe_zip
sentry
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
support Fix incorrect web server parameter in init.d script 2019-07-24 08:48:49 +00:00
system_check Sanitize LDAP output in Rake tasks 2019-06-21 05:49:56 -05:00
tasks Fix broken update_project_templates rake task 2019-07-30 13:52:28 +00:00
after_commit_queue.rb Refactor inside_transaction? to Gitlab::Database 2019-06-25 09:15:35 +00:00
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Cache Flipper feature flags in L1 and L2 caches 2019-07-03 16:22:50 -07:00
file_size_validator.rb
forever.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
gitlab.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
gt_one_coercion.rb
milestone_array.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb