Skip to content

Commit

Permalink
"{" and "}" are valid but "unwise" URI characters
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed May 29, 2016
1 parent 6c99c52 commit fdd25a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/request_spec.rb
Expand Up @@ -63,7 +63,7 @@

it 'handles bad request urls' do
parser = double('parser').as_null_object
parser.stub(:request_url).and_return('/bad?param}')
parser.stub(:request_url).and_return('/bad?params##')

@r.stub(:server_exception)
@r.should_receive(:server_exception)
Expand Down

0 comments on commit fdd25a0

Please sign in to comment.