hypothesis / support-legacy

a place for tracking support-related work and projects
3 stars 0 forks source link

Correct bouncer links as they appear in RSS streams #109

Open mkdir-washington-edu opened 4 years ago

mkdir-washington-edu commented 4 years ago

Describe the bug Per https://hypothes-is.slack.com/archives/C2BLQDKHA/p1588956474352200:

In a feed like this: https://hypothes.is/stream.atom?uri=http://www.theatlantic.com/politics/archive/2015/07/tanehisi-coates-between-the-world-and-me/397619/

The links are of the form: https://hypothes.is/a/Xz3mnBQiEem3MeOgV9_6SQ

They probably should be like this: https://hyp.is/Xz3mnBQiEem3MeOgV9_6SQ

Why this is the case: the RSS views predated bouncer.

To Reproduce See https://hypothes.is/stream.atom?uri=http://www.theatlantic.com/politics/archive/2015/07/tanehisi-coates-between-the-world-and-me/397619/

Click on https://hypothes.is/a/Xz3mnBQiEem3MeOgV9_6SQ

Expected behavior We would expect the links in an RSS stream to work like this link does instead: https://hyp.is/Xz3mnBQiEem3MeOgV9_6SQ

Additional context https://hypothesis.zendesk.com/agent/tickets/9964

mkdir-washington-edu commented 4 years ago

One of our users suggests we make the resolved URL available for twitter bots and the like to access. I'm not sure of the difficulty of doing this, nor how the bots are accessing the bouncer link in the first place (though I assume it's through the API).