Sha256: 5874b5ce218ebfad6b7db4287022479fd375f74338f513c1f05f78333884e7fb

Contents?: true

Size: 218 Bytes

Versions: 29

Compression:

Stored size: 218 Bytes

Contents

require 'spec_helper'

describe 'GET /abcd%2F1234', type: :request do
  it 'redirects, without unescaping' do
    get '/images/abcd%2F1234'
    expect(response).to redirect_to '/images/abcd%2F1234/info.json'
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
riiif-2.6.0 spec/routing/redirect_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/riiif-2.5.0/spec/routing/redirect_spec.rb
riiif-2.5.0 spec/routing/redirect_spec.rb
riiif-2.4.0 spec/routing/redirect_spec.rb
riiif-2.3.0 spec/routing/redirect_spec.rb
riiif-2.2.0 spec/routing/redirect_spec.rb
riiif-2.1.0 spec/routing/redirect_spec.rb
riiif-1.7.1 spec/routing/redirect_spec.rb
riiif-2.0.0 spec/routing/redirect_spec.rb
riiif-2.0.0.beta2 spec/routing/redirect_spec.rb
riiif-2.0.0.beta1 spec/routing/redirect_spec.rb
riiif-1.7.0 spec/routing/redirect_spec.rb
riiif-1.6.0 spec/routing/redirect_spec.rb
riiif-1.5.1 spec/routing/redirect_spec.rb
riiif-1.5.0 spec/routing/redirect_spec.rb
riiif-1.4.4 spec/routing/redirect_spec.rb
riiif-1.4.3 spec/routing/redirect_spec.rb
riiif-1.4.2 spec/routing/redirect_spec.rb
riiif-1.4.1 spec/routing/redirect_spec.rb
riiif-1.4.0 spec/routing/redirect_spec.rb