Re: CRLF problem when verifiying a signature signtext()

2007-04-25 Thread Anders Rundgren
The HTTP protocol does not affect content so if there is a problem it is likely to be in the browser, either in DOM or in security. Since signText seems to be built on e-mail security it may even be S/MIME canonicalization involved. Anders - Original Message - From: "eloy_iv" <[EMAIL PRO

Re: CRLF problem when verifiying a signature signtext()

2007-04-25 Thread eloy_iv
After doing some thinking, the problem is how Javascript/DOM engine interprets values in HTML documents. Simply type some lines in a HTML textarea and ask its value from Javascript. If you inspect every char code (String::charCodeAt(int)) you will see line breaks as single 0x0A byte (LF linefeed).