yaws icon indicating copy to clipboard operation
yaws copied to clipboard

Should Content-Type: application/javascript also include a 'charset=...'?

Open etnt opened this issue 5 years ago • 1 comments

We are running some security scanning tools that are complaining about this. So my question is if perhaps a 'charset=' should be appended to this content type? (the obsoleted 'text/javascript' would of course get a charset since it falls within 'text/*')

etnt avatar Nov 19 '19 09:11 etnt

I think that's OK, but I'll need to look into the issue more.

vinoski avatar Nov 20 '19 03:11 vinoski