mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Whitelist GET
This commit is contained in:
parent
1bc6c036cc
commit
6186ab6004
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ PdfStreamConverter.prototype = {
|
|||
try {
|
||||
var request = aCtxt;
|
||||
request.QueryInterface(Ci.nsIHttpChannel);
|
||||
skipConversion = (request.requestMethod === 'POST');
|
||||
skipConversion = (request.requestMethod !== 'GET');
|
||||
} catch (e) {
|
||||
// Non-HTTP request... continue normally.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue