#19251: Normalize newlines from Textarea widgets
-------------------------------------+-------------------------------------
Reporter: claudep | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 1 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by aaugustin):
Replying to [comment:3 claudep]:
> If browsers would systematically return CRLF, you would be right. But
this isn't always true, so the situation is already inconsistent and
somewhat broken.
I didn't explain it well, but my reasoning was:
- regular requests always use CRLF: if we normalize to CRLF, we're
backwards compatible, if we normalize to LF, we aren't.
- AJAX requests are browser dependent: no matter which way we normalize,
it will have side effects for some people.
In my opinion this is a basic browser interoperability issue that is
better left to browser developers / W3C / etc.; but if you're keen on
fixing it in Django that's just fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/19251#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.