blob: 27fab791216a2a4e9348bf01b8b68c6d27e087cb (
plain) (
blame)
1
2
3
4
5
6
7
8
|
### uristart will escape only single-quotes in the url parts.
### so place them inside single-quotes when creating handler pipelines. or else!
### (if you're given a bad link someone might be able to run shell commands)
finger: printf "%%s\r\n" '%p' | ncat '%d' 79 | tr -d '\r' | xmessage -file -
whois: whois "$(printf '%%s\\\\n' '%d' | sed 's/^..*$/-h/')" '%d' '%p' | xmessage -file -
irc: x-terminal-emulator -e irssi -c '%d' -p '%P'
http: firefox --new-tab '%U'
DEFAULT: xdg-open '%U'
|