Skip to content
Snippets Groups Projects
Commit 7850abaa authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'sh-fix-pages-zip-constant' into '11-7-stable'

[11.7] Fix uninitialized constant with GitLab Pages

See merge request gitlab/gitlabhq!2872
parents 3e024d92 4ddae8cb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -57,7 +57,7 @@ gem 'u2f', '~> 0.2.1'
 
# GitLab Pages
gem 'validates_hostname', '~> 1.0.6'
gem 'rubyzip', '~> 1.2.2', require: false
gem 'rubyzip', '~> 1.2.2'
 
# Browser detection
gem 'browser', '~> 2.5'
Loading
Loading
---
title: Fix uninitialized constant with GitLab Pages
merge_request:
author:
type: fixed
Loading
Loading
@@ -29,7 +29,7 @@ module SafeZip
private
 
def extract_with_ruby_zip(params)
Zip::File.open(archive_path) do |zip_archive|
::Zip::File.open(archive_path) do |zip_archive|
# Extract all files in the following order:
# 1. Directories first,
# 2. Files next,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment