[Sprint/PinkPanther](fix): Cannot view paywalled content front#2004
Closes front#2004
Summary
Users could not view their own and others paywalled content. See the steps on the issue above and try it out for yourself.
Test
To test, I think we should test a variety of different media types, some with paywall and some without, from multiple accounts, and logged out, to ensure that everything is working.
0/1
thread resolved
added scoped labels
changed the description
changed title from : Cannot view paywalled content #2004 to : Cannot view paywalled content #2004
changed the description
18 18 exit; 19 19 } 20 20 21 $featuresManager = new FeaturesManager; 22 23 if ($featuresManager->has('cdn-jwt')) { 24 $signedUri = new Core\Security\SignedUri(); 25 $uri = (string) \Zend\Diactoros\ServerRequestFactory::fromGlobals()->getUri(); 26 if (!$signedUri->confirm($uri)) { 27 exit; 28 } 21 $signedUri = new Core\Security\SignedUri(); - Owner
Public assets will not be signed to improve caching, so this check needs to be aware of that.
added scoped label and automatically removed label