We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a1317 commit 6abbe05Copy full SHA for 6abbe05
activesupport/test/rails_lts/uri_patch_test.rb
@@ -6,7 +6,7 @@ class UriPatchTest < ActiveSupport::TestCase
6
vulnerable_uri = 'https://example.com/dir/' + 'a' * (100000) + '/##.jpg' # Approx. 4s without a patch
7
8
assert_raises(URI::InvalidURIError) do
9
- Timeout.timeout(0.1) { URI.parse(vulnerable_uri) }
+ Timeout.timeout(0.3) { URI.parse(vulnerable_uri) }
10
end
11
12
0 commit comments