|
From: | Graham Percival |
Subject: | checking to see if a file include scheme |
Date: | Tue, 23 Jan 2007 11:58:24 -0800 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
I'm not worried about a few false positives (if any non-scheme .ly file just happened to have "#(define" in the text somewhere), but could a malicious person add whitespace and have "#( define" ? If so, is there a way to search for such a whitespace-including string in python?
... and is there any other way of including scheme in a file?This isn't a big deal; the LSR editors shouldn't allow any scheme in these files, and I'll be checking the git diffs before committing to make sure there's no scheme... but it would be nice if there was also an automatic script to check for this.
Cheers, - Graham
[Prev in Thread] | Current Thread | [Next in Thread] |