Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

convertFile does not support uploading .zip files #1

Closed
zwise opened this Issue · 2 comments

2 participants

@zwise

At the moment, the convertFile method in pdfcrowd.js does not appear to support uploading .zip files. I can use a simple html source file without any problems, but trying to upload a .zip results in errors being thrown by the querystring module.

querystring.js:114
  return encodeURIComponent(str);
         ^
URIError: URI malformed
    at encodeURIComponent (native)
    at Object.escape (querystring.js:114:10)
    at querystring.js:151:30
    at Array.map (native)
    at Object.<anonymous> (querystring.js:141:31)
    at /Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:142:28
    at Object.processRequest (/Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:214:29)
    at Object.addRequest (/Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:202:14)
    at /Users/zwise/Sites/PL7Docs/node_modules/pdfcrowd/lib/pdfcrowd.js:46:22
    at [object Object].<anonymous> (fs.js:143:5)
@pdfcrowd
Owner

This should be fixed by f16aca5. Please could you verify that it is working for you on your end?

@zwise

Confirming that this issue is fixed. Thanks @pdfcrowd. Closing this issue.

@zwise zwise closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.