{"action":"closed","issue":{"url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/1048","labels_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/1048/comments","events_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/1048/events","html_url":"https://github.com/DarthGandalf/kvirc-issues/issues/1048","id":97279603,"number":1048,"title":"command in $link","user":{"login":"DarthGandalf","id":325092,"avatar_url":"https://avatars.githubusercontent.com/u/325092?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGandalf","html_url":"https://github.com/DarthGandalf","followers_url":"https://api.github.com/users/DarthGandalf/followers","following_url":"https://api.github.com/users/DarthGandalf/following{/other_user}","gists_url":"https://api.github.com/users/DarthGandalf/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGandalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGandalf/subscriptions","organizations_url":"https://api.github.com/users/DarthGandalf/orgs","repos_url":"https://api.github.com/users/DarthGandalf/repos","events_url":"https://api.github.com/users/DarthGandalf/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGandalf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-26T03:09:02Z","updated_at":"2015-07-26T03:09:10Z","closed_at":"2015-07-26T03:09:10Z","body":"**Reported by TheRipper on 16 Dec 2010 16:33:02 UTC**\nThe $link function should be able to link to a command/alias\r\n\r\n$link(<text>[,<type>[,<command>]])\r\nso e.g. you could add an event onmedevoice which echos $link(\"you've been devoiced. do you want to hop?\",cmd,hop)\r\nclicking on the link triggers the single line command or alias (here: hop)\r\n\r\nbeacause this is a potential securtiy hole for other kvirc users, kvirc should '''NOT''' in any case be able to send a message containing such a link and block incoming links from other clients. (the risk of modification of the source code to enable sending those links is too high hence the double block)\n\n---\nMigrated from: https://svn.kvirc.de/kvirc/ticket/1048"}}