When logging out of RubyCAS with a referrer that has a query string containing just a key (e.g. foo.html?12345) an exception is generated by hash_to_query.
To fix, simply replace the offending line with the one below (around line 250 of casclient/client.rb):
When logging out of RubyCAS with a referrer that has a query string containing just a key (e.g. foo.html?12345) an exception is generated by hash_to_query.
To fix, simply replace the offending line with the one below (around line 250 of casclient/client.rb):
vals.each {|v| pairs << (v.nil? ? CGI.escape(k) : "#{CGI.escape(k)}=#{CGI.escape(v)}")}