Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/controllers/plan_exports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def file_name
ret = @plan.title
Zaru.sanitize! ret
ret = ret.strip.gsub(/\s+/, "_")
ret = ret.gsub(/"/, "")
# limit the filename length to 100 chars. Windows systems have a MAX_PATH allowance
# of 255 characters, so this should provide enough of the title to allow the user
# to understand which DMP it is and still allow for the file to be saved to a deeply
Expand Down