doherty/WP-vanilla-pdf-embed — pull request #2 by AngelinaBelle (2014-04-02 17:16:57+00:00)
Title: more specific URL regexp

Prevents embedding files that don't end in \.pdf
also prevents embedding files from home_url(). '.reallybadsite.com/malicious.pdf'