This project is archived and is in readonly mode.

#4808 incomplete
Steve Purcell

Textarea input silently truncated in 2.3.8!

Reported by Steve Purcell | June 9th, 2010 @ 10:34 AM | in 2.3.10

Certain textarea inputs are improperly truncated before being placed in 'params', so that apps do not see the full text submitted.

How to reproduce:

  • Unzip attached sample rails app (generated with "rails" script from 2.3.8)
  • script/server
  • Go to http://localhost:3000/things/new
  • Open the attached "Dizzy.rtf" file in TextEdit (I haven't been able to test this on non-Macs), select all, copy, and then paste into the textarea on the above page
  • Click save

Note the value of 'text' in the deliberately-thrown error: it contains just the final paragraph of the text, where it should contain the full text.

In Rails 2.3.5, all the text is placed in 'params', even with the same Rack version.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>