mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -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
@@ -814,7 +814,7 @@ module Submissions
|
||||
end
|
||||
|
||||
ActiveStorage::Attachment.new(
|
||||
blob: ActiveStorage::Blob.create_and_upload!(io: io.tap(&:rewind), filename: "#{name}.pdf"),
|
||||
blob: ActiveStorage::Blob.create_and_upload!(io: io.tap(&:rewind), filename: "#{name}.pdf".tr('/', '-')),
|
||||
metadata: { original_uuid: uuid,
|
||||
analyzed: true,
|
||||
sha256: Base64.urlsafe_encode64(Digest::SHA256.digest(io.string)) },
|
||||
|
||||
Reference in new issue
Block a user