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.

Encoding of user input (Bug #524)


Added by Gary Verhaegen at 2011-07-15 02:49 pm. Updated at 2011-07-15 03:44 pm.


Status:Duplicate Start date:2011-07-15
Priority:Low Due date:
Assignee:- % Done:

0%

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

Description

Yet another encoding problem from using ruby 1.9: rails 2.3.x considers user input as byte strings, in particular the content of the params hash, which yields an Encoding error every time an input string is concatenated to an existing string.

The fix described there fixed it for me, with the obvious change of 2.3.10 to 2.3.12.

Note: this fix assumes that the user wants to use UTF-8 as the default encoding, which I believe is a reasonable default.


History

Updated by Toshi MARUYAMA at 2011-07-15 03:44 pm

  • Status changed from Open to Duplicate

Also available in: Atom PDF