Replacing URL flag format

This commit is contained in:
Artur Adib 2011-11-08 20:02:28 -05:00
parent 085710f9db
commit f2d54d3207
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ pdfContentHandler.prototype = {
}
let targetUrl = aRequest.URI.spec;
if (targetUrl.indexOf('?pdfjs.action=download') >= 0)
if (targetUrl.indexOf('#pdfjs.action=download') >= 0)
throw NS_ERROR_WONT_HANDLE_CONTENT;
aRequest.cancel(Cr.NS_BINDING_ABORTED);