{"action":"opened","issue":{"url":"https://api.github.com/repos/qcode-software/qcode-tcl/issues/251","labels_url":"https://api.github.com/repos/qcode-software/qcode-tcl/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/qcode-software/qcode-tcl/issues/251/comments","events_url":"https://api.github.com/repos/qcode-software/qcode-tcl/issues/251/events","html_url":"https://github.com/qcode-software/qcode-tcl/issues/251","id":96539105,"number":251,"title":"qc::url support for colon variable substitution","user":{"login":"bvw","id":486212,"avatar_url":"https://avatars.githubusercontent.com/u/486212?v=3","gravatar_id":"","url":"https://api.github.com/users/bvw","html_url":"https://github.com/bvw","followers_url":"https://api.github.com/users/bvw/followers","following_url":"https://api.github.com/users/bvw/following{/other_user}","gists_url":"https://api.github.com/users/bvw/gists{/gist_id}","starred_url":"https://api.github.com/users/bvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvw/subscriptions","organizations_url":"https://api.github.com/users/bvw/orgs","repos_url":"https://api.github.com/users/bvw/repos","events_url":"https://api.github.com/users/bvw/events{/privacy}","received_events_url":"https://api.github.com/users/bvw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nicky-johnstone","id":8330836,"avatar_url":"https://avatars.githubusercontent.com/u/8330836?v=3","gravatar_id":"","url":"https://api.github.com/users/nicky-johnstone","html_url":"https://github.com/nicky-johnstone","followers_url":"https://api.github.com/users/nicky-johnstone/followers","following_url":"https://api.github.com/users/nicky-johnstone/following{/other_user}","gists_url":"https://api.github.com/users/nicky-johnstone/gists{/gist_id}","starred_url":"https://api.github.com/users/nicky-johnstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicky-johnstone/subscriptions","organizations_url":"https://api.github.com/users/nicky-johnstone/orgs","repos_url":"https://api.github.com/users/nicky-johnstone/repos","events_url":"https://api.github.com/users/nicky-johnstone/events{/privacy}","received_events_url":"https://api.github.com/users/nicky-johnstone/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-22T11:12:45Z","updated_at":"2015-07-22T11:12:45Z","closed_at":null,"body":"Could we evolve qc::url so that colon variable substitution takes place on the url given using \r\n1. data from name/value pairs passed in as args\r\n2. from the callers namespace.\r\n\r\nAny name/value pairs not consumed by the template are inserted as GET string form variables.\r\n\r\nExamples:\r\n```tcl\r\nqc::url https://www.qcode.co.uk::8000/foo/:foo_id/edit#:slug foo_id 12345 slug example-fragment foo bar baz 34\r\n\r\n=> qc::url https://www.qcode.co.uk::8000/foo/12345/edit?foo=bar&baz=34#example-fragment\r\n```\r\n"}}