From c3a15fefef10cb6be5ee9af4308195997fafea9a Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Fri, 7 Feb 2014 03:20:10 -0800 Subject: [PATCH] encodeURI -> encodeURIComponent --- Setup-PDF.js-in-a-website-(Linux).mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup-PDF.js-in-a-website-(Linux).mediawiki b/Setup-PDF.js-in-a-website-(Linux).mediawiki index 9b4d3fc..64ba11c 100644 --- a/Setup-PDF.js-in-a-website-(Linux).mediawiki +++ b/Setup-PDF.js-in-a-website-(Linux).mediawiki @@ -21,7 +21,7 @@ You can test your own documents by placing them into the test directory === Opening PDF files from your website === -You need to use the file parameter in the URL whose value is a full [https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURI encoded URI]. For example: +You need to use the file parameter in the URL whose value is a full [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent encoded URI]. For example: http://mozilla.github.com/pdf.js/web/viewer.html?file=http%3A%2F%2Fasync5.org%2Fmoz%2Fpdfjs.pdf