in reply to Re: execute JS in http response in perl
in thread execute JS in http response in perl
This is why browsers sandbox the javascript they receive from all servers, so that it can't open files from the file system, fork processes, change the browser's GUI etc. These days many browsers even prevent javascript from opening new browser windows.
So when you write Perl code that executes Javascript, you should make sure it's also sandboxed the same way.
|
---|
In Section
Seekers of Perl Wisdom