{"push_id":1068236961,"size":1,"distinct_size":1,"ref":"refs/heads/bug-766086","head":"81992f244b86d116b694a4468919d41cedb27da8","before":"f36aa7e24a89daf95920c9a40df64078161445ca","commits":[{"sha":"81992f244b86d116b694a4468919d41cedb27da8","author":{"email":"948da68dabc99974f43ccafff8947d7478f569d4@gmail.com","name":"Jonas Jenwald"},"message":"Add support for `LinkAnnotation`s with relative URLs (bug 766086)\n\nThis patch moves the validation of URLs, in `LinkAnnotation`, from the `core` to the `display` layer. This should make the API a bit more useful in custom implementations, since the API will now also be able to return relative URLs.\n\nSome PDF generators unfortunately create files with relative URLs, which thus prevents some inter-PDF links from working in PDF.js.\nThe reason that `PDFLinkService.baseUrl` wasn't re-used, is that this would only work in the Firefox addon/built-in version (and not in e.g. the Chrome addon).\n\nFixes https://bugzilla.mozilla.org/show_bug.cgi?id=766086.","distinct":true,"url":"https://api.github.com/repos/Snuffleupagus/pdf.js/commits/81992f244b86d116b694a4468919d41cedb27da8"}]}