I know that the line endings used for files vary depending on the OS. I was wondering, if a user pastes text into a http form input such as a textarea, does the line ending
No, the browser should canonicalize the line endings.