gitlab-org--gitlab-foss/lib/gitlab/middleware
Stan Hu 39f252254b Make sure there's only one slash as path separator
In Ruby 2.4, `URI.join("http://test//", "a").to_s` will
remove the double slash, however it's not the case in
Ruby 2.5. Using chomp should work better for the intention,
as we're not trying to allow things like ../ or / paths
resolution.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
2018-11-09 15:36:45 -08:00
..
read_only Refactor rspec matchers in read_only_spec.rb 2018-07-07 04:22:44 +00:00
basic_health_check.rb Use /-/health instead of breaking /-/liveness 2018-07-28 14:35:02 -07:00
go.rb Make sure there's only one slash as path separator 2018-11-09 15:36:45 -08:00
multipart.rb Fix multipart error on rails reload 2018-09-05 18:00:11 +00:00
rails_queue_duration.rb move metrics for ActiveRecord, RailsCache and queue duration to instance variables 2017-11-02 18:18:16 +01:00
read_only.rb Fix "A copy of Gitlab::Middleware::Readonly has been removed from the module tree but is still active" 2018-03-21 21:18:11 -07:00
release_env.rb [CE] Add Naming/FileName rule checking expected class/module per filename 2018-03-08 12:56:54 +00:00
static.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00