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.
Assignee: nobody → stuart.morgan
Status: UNCONFIRMED → ASSIGNED
Attachment #240864 - Flags: review?
Comment on attachment 240864 [details] [diff] [review] patch r=me
Attachment #240864 - Flags: superreview?(sfraser_bugs) → superreview+
Checked in on trunk and 1.8branch.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.