Fun exploit of this - you can use it to lock up Safari hard:
http://grack.com/hangsafari.html
(not a reduced testcase - it's more of a brute force)
You can also trigger a mailto: link that crashes Mail:
mailto:pete@bar.com?subject=File:///&body=File:///