From c2bdd7b295576806d3aab33bc9d71e0a98a4e439 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Mon, 3 Jun 2013 11:40:07 -0700 Subject: [PATCH] Simplify getting the pdf url. --- extensions/firefox/components/PdfStreamConverter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/firefox/components/PdfStreamConverter.js b/extensions/firefox/components/PdfStreamConverter.js index 8bd3fe208..84430a658 100644 --- a/extensions/firefox/components/PdfStreamConverter.js +++ b/extensions/firefox/components/PdfStreamConverter.js @@ -391,7 +391,7 @@ var RangedChromeActions = (function RangedChromeActionsClosure() { ChromeActions.call(this, domWindow, contentDispositionFilename); - this.pdfUrl = originalRequest.URI.resolve(''); + this.pdfUrl = originalRequest.URI.spec; this.contentLength = originalRequest.contentLength; // Pass all the headers from the original request through