Onebox requests being incorrectly redirected due to user-agent

Thanks @codinghorror and @merefield

When I try a curl with the header Discourse, I get a completely different result.
curl -X GET https://link.jig.space/gXszoFiWkX -H 'User-Agent: Discourse'

It takes me to a 304 temp redirect to a page with a script that makes a 2nd redirect back to our home page:
window.top.location = validate("http://jig.space/?_branch_match_id=667900471741258199");

And of course there are no og: tags in those responses.

So it is something to do with my redirects upon getting the Discourse user agent.

Thanks again :slight_smile: I’ll report back when I fix it.