Fix Bug 916381 - Prevent XSS attacks with linkSrc in Image Plugin

https://bugzilla.mozilla.org/show_bug.cgi?id=916381