GitHub PullRequestReviewCommentEvent at 2014-03-12 08:35:21
Repository: kuma
Actor: jezdez
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/comments/10508904","id":10508904,"diff_hunk":"@@ -12,12 +11,16 @@\n TOPICS_PARAM = 'topic'\n \n \n-def ref_from_referer(request):\n+def referrer_url(request):\n     referrer = request.META.get('HTTP_REFERER', None)\n     if (referrer is None or\n             reverse('search', locale=request.locale) != URL(referrer).path):\n         return None\n-    return ref_from_url(referrer)\n+    return referrer\n+\n+\n+def ref_from_referer(request):\n+    return ref_from_url(referrer_url(request))","path":"apps/search/store.py","position":23,"original_position":23,"commit_id":"e5b426a26846fe0ff236365f2ce1f98d9eb63926","original_commit_id":"e5b426a26846fe0ff236365f2ce1f98d9eb63926","user":{"login":"jezdez","id":1610,"avatar_url":"https://gravatar.com/avatar/cf3595fa166bfb4106211e1697f39f94?d=https%3A%2F%2Fidenticons.github.com%2Fa14ac55a4f27472c5d894ec1c3c743d2.png&r=x","gravatar_id":"cf3595fa166bfb4106211e1697f39f94","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"body":"Well spotted!","created_at":"2014-03-12T08:35:21Z","updated_at":"2014-03-12T08:35:21Z","html_url":"https://github.com/mozilla/kuma/pull/2073#discussion_r10508904","pull_request_url":"https://api.github.com/repos/mozilla/kuma/pulls/2073","_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments/10508904"},"html":{"href":"https://github.com/mozilla/kuma/pull/2073#discussion_r10508904"},"pull_request":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/2073"}}}}