Skip to content

Commit cd9df87

Browse files
andreavocadoioquatix
authored andcommitted
remove require 'uri'
1 parent fc49451 commit cd9df87

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

test/spec_session_encryptor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,6 @@ def encryptor_class
379379
# (strict_encode64) can produce '+' characters, which would corrupt the
380380
# cookie before decryption. V2 must use URL-safe Base64 to avoid this.
381381
it 'decrypts V2 messages that have passed through Rack cookie parsing' do
382-
require 'uri'
383-
384382
encryptor = Rack::Session::Encryptor.new(@secret, { mode: :v2 })
385383
encrypted_message = encryptor.encrypt({ 'foo' => 'bar' })
386384

0 commit comments

Comments
 (0)