in reply to Re^2: Perl, JavaScript and quoting/escaping
in thread Perl, JavaScript and quoting/escaping

...In the above I'm scared that content from the client is being passed without first being quoted. ... The escapeHTML above is interpreted by the JS and not the HTML processor...

Why would a media type of text/javascript need to be HTML escaped?

See http://subtech.g.hatena.ne.jp/mala/20100222/1266843093, use http://translate.google.com if you need it.

Take this opportunity to learn about the internet , how HTTP/HTML... all fit together, the big picture.

  • Comment on Re^3: Perl, JavaScript and quoting/escaping