{"action":"created","issue":{"url":"https://api.github.com/repos/hypothesis/h/issues/2506","labels_url":"https://api.github.com/repos/hypothesis/h/issues/2506/labels{/name}","comments_url":"https://api.github.com/repos/hypothesis/h/issues/2506/comments","events_url":"https://api.github.com/repos/hypothesis/h/issues/2506/events","html_url":"https://github.com/hypothesis/h/issues/2506","id":107073412,"number":2506,"title":"erroneous annotations appearing for pdf file in via","user":{"login":"judell","id":46509,"avatar_url":"https://avatars.githubusercontent.com/u/46509?v=3","gravatar_id":"","url":"https://api.github.com/users/judell","html_url":"https://github.com/judell","followers_url":"https://api.github.com/users/judell/followers","following_url":"https://api.github.com/users/judell/following{/other_user}","gists_url":"https://api.github.com/users/judell/gists{/gist_id}","starred_url":"https://api.github.com/users/judell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judell/subscriptions","organizations_url":"https://api.github.com/users/judell/orgs","repos_url":"https://api.github.com/users/judell/repos","events_url":"https://api.github.com/users/judell/events{/privacy}","received_events_url":"https://api.github.com/users/judell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hypothesis/h/labels/P2","name":"P2","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-17T21:00:47Z","updated_at":"2015-09-21T14:39:23Z","closed_at":null,"body":"URL: https://www.lib.ucdavis.edu/dept/admin/plan/ucd-library-strategic-plan-2013-16.pdf\r\n\r\nAPI query results: https://hypothes.is/api/search?uri=https://www.lib.ucdavis.edu/dept/admin/plan/ucd-library-strategic-plan-2013-16.pdf -> 0\r\n\r\nVIA URL: https:/via.hypothes.is/https://www.lib.ucdavis.edu/dept/admin/plan/ucd-library-strategic-plan-2013-16.pdf\r\n\r\nExpanded VIA URL:\r\n\r\nhttps://via.hypothes.is/static/__shared/viewer/web/viewer.html?file=https%3A%2F%2Fwww.lib.ucdavis.edu%2Fdept%2Fadmin%2Fplan%2Fucd-library-strategic-plan-2013-16.pdf\r\n\r\nQuery executed by H client in VIA context: https://hypothes.is/api/search?limit=200&offset=0&order=asc&sort=created&uri=https:%2F%2Fvia.hypothes.is%2Fstatic%2F__shared%2Fviewer%2Fweb%2Fviewer.html%3Ffile%3Dhttps:%2F%2Fwww.lib.ucdavis.edu%2Fdept%2Fadmin%2Fplan%2Fucd-library-strategic-plan-2013-16.pdf -> 48 results\r\n\r\nURIs in result set:\r\n\r\nhttps://via.hypothes.is/static/__shared/viewer/web/viewer.html?file=https://doc-00-3c-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/4p9rafgo15va8d5bkk3v5borbo3jlmek/1442347200000/12051615087829900932/*/0B9Xu_6XK8Y6dMDNZYmEwemdBdE10NmxwYnhNdnY4OWNDQVNJ?e=download\r\n\r\nhttps://via.hypothes.is/static/__shared/viewer/web/viewer.html?file=https://gimmeshelter2015.files.wordpress.com/2015/09/joan-didion-goodbye-to-all-that-1.pdf\r\n\r\netc.\r\n\r\nQuestions: \r\n\r\nAre we normalizing to https://via.hypothes.is/static/__shared/viewer/web/viewer.html?\r\n\r\nWhy is that prefix appearing in the database?\r\n\r\nWas this a recent change, and if so, what? (Several reports indicate this is a new behavior.)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hypothesis/h/issues/comments/142002095","html_url":"https://github.com/hypothesis/h/issues/2506#issuecomment-142002095","issue_url":"https://api.github.com/repos/hypothesis/h/issues/2506","id":142002095,"user":{"login":"judell","id":46509,"avatar_url":"https://avatars.githubusercontent.com/u/46509?v=3","gravatar_id":"","url":"https://api.github.com/users/judell","html_url":"https://github.com/judell","followers_url":"https://api.github.com/users/judell/followers","following_url":"https://api.github.com/users/judell/following{/other_user}","gists_url":"https://api.github.com/users/judell/gists{/gist_id}","starred_url":"https://api.github.com/users/judell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judell/subscriptions","organizations_url":"https://api.github.com/users/judell/orgs","repos_url":"https://api.github.com/users/judell/repos","events_url":"https://api.github.com/users/judell/events{/privacy}","received_events_url":"https://api.github.com/users/judell/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T14:39:23Z","updated_at":"2015-09-21T14:39:23Z","body":"Why would the viewer URL, or indeed any URL with a Via prefix, ever be the value for Uri in a stored annotation?"}}