The string I end up with, when the user supplied stuff using a TEXTAREA in a form, contains 0D 0A line endings. This gets passed through as-is until the data runs into something that doesn't like it.

I would think that the strings imported into Perl would be immediately massaged into Perl's preferred internal form, which is different from the "network" format used by HTTP. It seems that this would be the best place to deal with it; nip the problem in the bud. After all, if reading text files, I absorb the line-ending differences at that point. It's no different here, right?

If I'm thinking along the right lines, how do I set up Catalyst to do it at 
that point?

--John


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to