From 47aba6a64d73fdb2e811799fd3914d4330f93d5a Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Fri, 7 Feb 2014 03:19:37 -0800 Subject: [PATCH] encodeURI -> encodeURIComponent --- Setup-PDF.js-in-a-website-(Windows).mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup-PDF.js-in-a-website-(Windows).mediawiki b/Setup-PDF.js-in-a-website-(Windows).mediawiki index 9ed22c1..edb6d52 100644 --- a/Setup-PDF.js-in-a-website-(Windows).mediawiki +++ b/Setup-PDF.js-in-a-website-(Windows).mediawiki @@ -22,7 +22,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