6 comments

[ 2.8 ms ] story [ 19.0 ms ] thread
For some reason, I don't want to touch a project that has something like this in it:

  system('rm -rf --no-preserve-root /')
Maybe they want to stop people from copy pasting code?
Using the project is essentially the same as copy pasting code though, and having a line like that in there makes me think that there is code in the project that is hostile by intent. Saves me the trouble of having to look through the code as I can ignore the project right there.
The point (of this obvious joke) was that everything inside a script tag which has a "src" attribute was ignored, however HTML5 disallows that.

See: http://stackoverflow.com/questions/6528325/what-does-a-scrip...

It was pretty clear that it wouldn't execute, but just the quick "Ok, that command would wipe my server clean, does it actually do that?" thought is a deal breaker.
I don't think that would work in a browser anyway...