Are line breaks sent the same way by all (major) browsers / operating systems?
Or do Windows clients send line breaks as \r\n
and *nix send them as \n
?
Are line breaks sent the same way by all (major) browsers / operating systems?
Or do Windows clients send line breaks as \r\n
and *nix send them as \n
?
Copyright © 2021 Jogjafile Inc.
Unfortunately, they're different for different OSs.
At least HTML tries to compensate for that when preprocessing HTML input:
http://dev.w3.org/html5/spec/parsing.html#preprocessing-the-input-stream