You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I submit a PDF file base64 encoded like this data:application/pdf;base64,JVBERi0xLjQKJfjl0MTGCjEgMCBvYmoKPDwgL........... the automatic detection change the extension from .pdf to .ai.
This is not a bug in mime-types, but in mime-types-data. Update that gem to 3.2019.1009 and the issue will fix itself. Resolved in mime-types/mime-types-data#24.
When I submit a PDF file base64 encoded like this
data:application/pdf;base64,JVBERi0xLjQKJfjl0MTGCjEgMCBvYmoKPDwgL...........
the automatic detection change the extension from.pdf
to.ai
.I use:
Here is my code:
ps: When I submit an image base64 everything works fine.
Any idea?
The text was updated successfully, but these errors were encountered: