-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
wontfixThis will not be worked onThis will not be worked on
Description
The following code:
result = ConvertApi.convert('txt', { File: document.url, StoreFile: false, RemoveHeadersFooters: true }, from_format: 'pdf')
makes a call to the url with &StoreFile=true.
I think the problem is here: https://github.com/ConvertAPI/convertapi-ruby/blob/88ed026ac1679829f48cb36157c4127457d18a9f/lib/convert_api/task.rb#L11
I think you merge default parameters over top user parameters when you should be doing the merge the other way.
This seems like kind of a security risk having it this way especially since your documentation at: https://www.convertapi.com/pdf-to-txt#snippet=ruby clearly states that the default is false not true.
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on