1 |
commit: 6573baca3909c895986deba6aac3b63294f19a42 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 26 16:25:02 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 12:00:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6573baca |
7 |
|
8 |
dev-ruby/sinatra: remove unused patch. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2417 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
.../sinatra/files/sinatra-1.4.4-fix-tests.patch | 25 ---------------------- |
15 |
1 file changed, 25 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch b/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch |
18 |
deleted file mode 100644 |
19 |
index 25ed730..00000000 |
20 |
--- a/dev-ruby/sinatra/files/sinatra-1.4.4-fix-tests.patch |
21 |
+++ /dev/null |
22 |
@@ -1,25 +0,0 @@ |
23 |
-commit c5c9f6b5501a366d5809faa44e50fad371c14870 |
24 |
-Author: Jon Rowe <hello@××××××××××.uk> |
25 |
-Date: Tue Oct 29 14:18:46 2013 +1100 |
26 |
- |
27 |
- fixes the build by disabling path traversal protection for this test |
28 |
- |
29 |
- Seems that this test is in direct competition with the desired |
30 |
- behaviour of path traversal protection. |
31 |
- |
32 |
-diff --git a/test/routing_test.rb b/test/routing_test.rb |
33 |
-index 410bfda..5584601 100644 |
34 |
---- a/test/routing_test.rb |
35 |
-+++ b/test/routing_test.rb |
36 |
-@@ -90,7 +90,10 @@ class RoutingTest < Test::Unit::TestCase |
37 |
- end |
38 |
- |
39 |
- it "it handles encoded slashes correctly" do |
40 |
-- mock_app { get("/:a") { |a| a } } |
41 |
-+ mock_app { |
42 |
-+ set :protection, :except => :path_traversal |
43 |
-+ get("/:a") { |a| a } |
44 |
-+ } |
45 |
- get '/foo%2Fbar' |
46 |
- assert_equal 200, status |
47 |
- assert_body "foo/bar" |