I don't see any reason we shouldn't allow any string to be opened as a URL via the service. For advanced users, it would be amazing to have keywords suddenly be system-wide - in any app, I could highlight something like "bug 1234", invoke the service, and have it open the appropriate bug.
Also, if we did this, we wouldn't have to accept any string blindly. We could still use |stringByTrimmingCharactersInSet| to trim off excess whitespace before and after the string.
Ooh, that's a neat idea. Me likey. Can we stick this on the agenda for tomorrow? It'd be wicked cool to have it in 1.1 (doesn't seem like it's too complicated).
Created attachment 240864 [details] [diff] [review] patch Enables keyword processing in URLs opened via the URL service.
Comment on attachment 240864 [details] [diff] [review] patch r=me
Checked in on trunk and 1.8branch.