当我使用大于1024的URL时,会在rails服务器的控制台中显示此内容。
Invalid request: HTTP element REQUEST_PATH is longer than the 1024 allowed length.
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/thin-1.6.1/lib/thin/request.rb:84:in `execute'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/thin-1.6.1/lib/thin/request.rb:84:in `parse'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/railties-4.0.1/lib/rails/commands/server.rb:84:in `start'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/railties-4.0.1/lib/rails/commands.rb:76:in `block in <top (r
equired)>'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/railties-4.0.1/lib/rails/commands.rb:71:in `tap'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448@global/gems/railties-4.0.1/lib/rails/commands.rb:71:in `<top (required)>
'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
我能解救这个例外吗?