Correctly rewrite PDF thumbnail URLs
Merge pull request #12 from 96187/pdf-part-2

Correctly rewrite PDF thumbnail URLs