{"action":"created","issue":{"url":"https://api.github.com/repos/django/django/issues/5244","labels_url":"https://api.github.com/repos/django/django/issues/5244/labels{/name}","comments_url":"https://api.github.com/repos/django/django/issues/5244/comments","events_url":"https://api.github.com/repos/django/django/issues/5244/events","html_url":"https://github.com/django/django/pull/5244","id":105237350,"number":5244,"title":"Fixed #19361 -- link to object added to after-save message","user":{"login":"bak1an","id":242988,"avatar_url":"https://avatars.githubusercontent.com/u/242988?v=3","gravatar_id":"","url":"https://api.github.com/users/bak1an","html_url":"https://github.com/bak1an","followers_url":"https://api.github.com/users/bak1an/followers","following_url":"https://api.github.com/users/bak1an/following{/other_user}","gists_url":"https://api.github.com/users/bak1an/gists{/gist_id}","starred_url":"https://api.github.com/users/bak1an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bak1an/subscriptions","organizations_url":"https://api.github.com/users/bak1an/orgs","repos_url":"https://api.github.com/users/bak1an/repos","events_url":"https://api.github.com/users/bak1an/events{/privacy}","received_events_url":"https://api.github.com/users/bak1an/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-07T15:36:06Z","updated_at":"2015-09-07T19:11:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5244","html_url":"https://github.com/django/django/pull/5244","diff_url":"https://github.com/django/django/pull/5244.diff","patch_url":"https://github.com/django/django/pull/5244.patch"},"body":"rebased old & dusty patch for https://code.djangoproject.com/ticket/19361"},"comment":{"url":"https://api.github.com/repos/django/django/issues/comments/138361983","html_url":"https://github.com/django/django/pull/5244#issuecomment-138361983","issue_url":"https://api.github.com/repos/django/django/issues/5244","id":138361983,"user":{"login":"bak1an","id":242988,"avatar_url":"https://avatars.githubusercontent.com/u/242988?v=3","gravatar_id":"","url":"https://api.github.com/users/bak1an","html_url":"https://github.com/bak1an","followers_url":"https://api.github.com/users/bak1an/followers","following_url":"https://api.github.com/users/bak1an/following{/other_user}","gists_url":"https://api.github.com/users/bak1an/gists{/gist_id}","starred_url":"https://api.github.com/users/bak1an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bak1an/subscriptions","organizations_url":"https://api.github.com/users/bak1an/orgs","repos_url":"https://api.github.com/users/bak1an/repos","events_url":"https://api.github.com/users/bak1an/events{/privacy}","received_events_url":"https://api.github.com/users/bak1an/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T19:11:53Z","updated_at":"2015-09-07T19:11:53Z","body":"@timgraham Thanks for a fast review!\r\n\r\nThis is troubling me as well, but there is also a translation involved, like `msg = _('The %(name)s \"%(obj)s\" was changed successfully.') % msg_dict`, where `obj` key at `msg_dict` contains actual link snippet. \r\nIs there a way to mark a part of translated string to be safe (just a link) without marking the whole string? Splitting it into parts seems like a huge mess (requires updating all translations at least)\r\n\r\nOn the other hand - link is url encoded, link text is escaped and translations itself is unlikely to contain something dangerous, so whole string seems to be \"safe\". Might need to escape `name` key though, maybe with switch to `format_html()` there - https://github.com/django/django/pull/5244/files#diff-3c42de3e53aba87b32c494f995a728dfR1067 \r\n\r\nWhat do you think?"}}