Skip to content

Commit

Permalink
fix: allow double-point char in export template filename (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwwinter authored Oct 9, 2024
1 parent b26c060 commit 005ba07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class DefaultRenderTemplateUseCase(

(request.bodyData as ObjectNode).put(
"reportName", fileName
.replace(Regex("[\\\\/:*?\"<>|]"), "_")
.replace(Regex("[\\\\/*?\"<>|]"), "_")
)

createRenderRequest(template.templateId, request.bodyData)
Expand Down

0 comments on commit 005ba07

Please sign in to comment.