ScratchPlugin>>primOpenURL: (was Re: [squeak-dev] The Trunk: EToys-tfel.211.mcz)

tim Rowledge tim at rowledge.org
Wed Aug 31 18:32:16 UTC 2016


> On 31-08-2016, at 12:32 AM, Tim Felgentreff <timfelgentreff at gmail.com> wrote:
> 
> Yes, I think the graphics filters could nowadays be done in-image. This method in particular I haven't stepped through and understood yet. There is a lot of cruft :)

It shouldn’t too big a project for someone into graphic algorithms.

The primURL thing is a fairly serious issue for safety though since it simply appends the input string to ‘xdg-open ‘ and does a system call. I’m reasonably certain you can shut down nuclear reactors that way. Probably not the best idea. Simply calling it without some checking of the input to make sure it is a URL is not the best idea. Real operating systems like RISC OS have much less dangerous ways to launch a webpage.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Trojan:  Storage device for replicating codes...




More information about the Squeak-dev mailing list