eclipse-archived / ceylon-herd

The Ceylon repository web application
Apache License 2.0
21 stars 11 forks source link

Fix text input WRT line feed #35

Open FroMage opened 12 years ago

FroMage commented 12 years ago

Apparently Chrome sends newlines as \n\r rather than just \n even on non-Windows platforms. Perhaps we want to fix that in the DB since the text field sizes are wrong otherwise (input/textarea size is right wrt line ending, but the text sent to the server will be longer due to the extra \r chars, which makes the server stricter than the client).