Including special characters || (pipes) in the field "Title" of a new assignment lead to corrupt .zip download on Windows systems

Description

Reproduced on > 23.x Maintenance Branch on MariaDB

Build Info: dcb4ca36
Server: ip-172-31-7-189
Server Time: Jan 13, 2025 4:30:36 AM EST
Sakai Version: 23-SNAPSHOT
116063417



See:

Instructions to generate the zip-download on the site above: Trigger the download on a windows system by clicking on “In / New” column value of the assignment > “Download all” > Check “Student submissions attachment(s)” > Download

The characters ‘||’ are replaced in the generated name of the archive, but not in the folder name created within the archive:

 

My suggested solution:

  • Apply the same character-replacements as seemingly already done when creating the archive-name of the download.

Attachments

2

Activity

Show:

Christina Schwiebert January 23, 2025 at 3:43 PM

I was able to see the same issue on Trunk and 22.x.

Details

Priority

23 Status

Please Merge

22 Status

Please Merge

Components

Assignee

Reporter

Environment

Microsoft Windows 10 Enterprise
Created January 13, 2025 at 10:15 AM
Updated January 23, 2025 at 3:43 PM