From 08014e9654288e0ca197c8a7806e4c1c614ee9ed Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Mon, 28 Sep 2015 17:28:40 +0530 Subject: [PATCH] loosen rack-cors --- debian/patches/0011-loosen-rack-cors.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/0011-loosen-rack-cors.patch diff --git a/debian/patches/0011-loosen-rack-cors.patch b/debian/patches/0011-loosen-rack-cors.patch new file mode 100644 index 0000000000..7ace63955e --- /dev/null +++ b/debian/patches/0011-loosen-rack-cors.patch @@ -0,0 +1,15 @@ +Forwarded: https://gitlab.com/gitlab-org/gitlab-ce/issues/2800 + +Index: gitlab/Gemfile +=================================================================== +--- gitlab.orig/Gemfile ++++ gitlab/Gemfile +@@ -67,7 +67,7 @@ gem "gitlab-linguist", "~> 3.0.1", requi + # API + gem "grape", "~> 0.6" + gem "grape-entity", "~> 0.4.2" +-gem 'rack-cors', '~> 0.2.9', require: 'rack/cors' ++gem 'rack-cors', '~> 0.4.0', require: 'rack/cors' + + # Format dates and times + # based on human-friendly examples diff --git a/debian/patches/series b/debian/patches/series index 848dc70cdb..c4b66593f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ loosen-rails-version.patch 0008-loosen-omniauth-twitter.patch 0009-loosen-omniauth-shibboleth.patch 0010-loosen-omniauth-kerberos.patch +0011-loosen-rack-cors.patch