ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Back urls containing umlauts redirect to "my page" (Bug #612)
Description
The CGI.unescape unescapes the characters of the path as well.
An URL like: chili.org/öäöäu.html would fail during redirect.
See fix https://github.com/chiliproject/chiliproject/pull/101
Associated revisions
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1132 e93f8b46-1217-0410-a6f0-8f06a7374b81
History
Updated by Felix Schäfer at 2011-11-28 07:19 pm
Eric, I haven't really managed to come up with a good test for the ApplicationController#redirect_to_back_or_default
, do you have an idea?
- Assignee deleted (
Felix Schäfer) - Status changed from Ready for review to Open
Updated by Eric Davis at 2011-12-02 12:07 am
I think this is another test were we need to using a browser engine like capybara instead of just get/post/put to urls. That way we drive the form submissions directly and the form uses it's back_url parameter (we have a deferred test that needs this too).