rubycas/rubycas-client-rails

Post params are included in query params on redirect

Opened this issue · 0 comments

When a service URL is generated, it includes any POST parameters in the query parameter. This causes problems when POST params include very large values (for example in file uploads) or many key/value pairs. The specific method: https://github.com/rubycas/rubycas-client-rails/blob/master/lib/rubycas-client-rails.rb#L376 The old implementation is here and correctly only grabs the query params: https://github.com/rubycas/rubycas-client/blob/master/lib/casclient/frameworks/rails/filter.rb#L329