Re: Anyone got a perl script to catch the disk: and help: uris in web browsers?

2004-05-26 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Joel Rees) wrote:

 Macintouch is showing an AS script:
 
  http://www.macintouch.com/#notesandtips
 
 I've never been comfortable with AS, so I'm thinking about installing 
 it to see how it works, then re-writing it in perl, and maybe even 
 further trap all attempts to climb the directory tree in the uri.

You can use Mac::InternetConfig to disable the protocol handlers.  But 
RCDefaultApp is a better solution for this.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/


Re: Anyone got a perl script to catch the disk: and help: uris in web browsers?

2004-05-26 Thread Joel Rees
On 2004.5.26, at 10:49 PM, Chris Nandor wrote:
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Joel Rees) wrote:
Macintouch is showing an AS script:
 http://www.macintouch.com/#notesandtips
I've never been comfortable with AS, so I'm thinking about installing
it to see how it works, then re-writing it in perl, and maybe even
further trap all attempts to climb the directory tree in the uri.
You can use Mac::InternetConfig to disable the protocol handlers.  
But
RCDefaultApp is a better solution for this.
Yeah, but neither of those are nearly as interesting. Of course, since 
Apple has already done the easy part, it doesn't make any sense to try 
to build it myself. The perl script in the patch they distributed is 
kind of interesting.

Any thoughts on the protocol registration issue or the login items 
issue? I'm thinking it might be useful to have a (say, perl? heh.) 
script clean up registered protocols and login items that were not 
explicitly okayed by the user, for one thing.

--
Joel Rees
If God had meant for us to not tweak our source code,
He'd've given us Microsoft.