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)


Added by Romano Licker at 2011-09-07 12:05 pm. Updated at 2011-12-02 12:07 am.


Status:Open Start date:2011-09-07
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:

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

Revision d859d38d
Added by Jean-Philippe Lang at 2008-02-10 03:24 pm

Translation updates:
  • Finnish (Antti Perkiömäki, #612)
  • Russian (Michael Pirogov, #622)

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).

Also available in: Atom PDF