rubycas/rubycas-server — Issue #79: Logout fails if url parameter present
Author: brodock
Created: 2012-01-18 05:50:56+00:00
State: open

If url parameter is present on logout url, for example, using follow_url from: https://github.com/rubycas/rubycas-client/blob/master/lib/casclient/client.rb, it will crash if the following sinatra error:

Errno::ENOENT at /logout
No such file or directory - .../lib/casserver/views/logout.erb
file: template.rb location: binread line: 67

.../lib/casserver/server.rb in compile_template
super engine, data, options, @custom_views || views
.../lib/casserver/server.rb in block in
render @template_engine, :logout
.../.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb in service
si.service(req, res)
.../.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb in run
server.service(req, res)
.../.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb in block in start_thread
block ? block.call(sock) : run(sock)