mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 15:02:33 -05:00
replace filename slashes
This commit is contained in:
1 parent
307036eae6
commit
781da32a07
7 files changed
+8
-8
No files matched your search
@@ -76,7 +76,7 @@ module Templates
|
||||
|
||||
blob = ActiveStorage::Blob.create_and_upload!(
|
||||
io: StringIO.new(document_data),
|
||||
filename: file.original_filename,
|
||||
filename: file.original_filename.tr('/', '-'),
|
||||
metadata: {
|
||||
**metadata,
|
||||
identified: file.content_type == PDF_CONTENT_TYPE,
|
||||
|
||||
Reference in new issue
Block a user