Closed rebeccacremona closed 11 months ago
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
42fbdd7
) 68.57% compared to head (fa938e9
) 68.65%. Report is 5 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In https://github.com/harvard-lil/perma/pull/3392, we implemented a new policy for when to make Perma Links private: we maintain a list of domains to check against.
At the time, when capturing with Scoop, it was only possible for Perma to check the target URL.
As of Scoop 0.5.5, added to the Scoop API recently, we can now also see the URL that the browser "lands on", after any redirects, and check that too.
This PR does so.
See ENG-352.
Note: I spent a lot of time yesterday trying to add a test for this, experimenting with 3 approaches, none of which worked in all circumstances, and all of which were intricate. For a feature of this importance.... I think it is more appropriate to leave it untested. I'm happy to say more, if people are curious.