Bug 46730 - Files uploaded by linux with backslashes within the filename are not distributed to teacher/students
Files uploaded by linux with backslashes within the filename are not distribu...
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on: 46709 46710
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-23 10:28 CET by Sönke Schwardt-Krummrich
Modified: 2023-06-12 15:39 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2018-03-23 10:28:37 CET
Bug 46709 c3:
> Files with backslashes uploaded through linux now don't work.
> But the distribution of such files probably didn't work anyways?

Via Bug 46709/46710 the handling of filenames during the upload in exam/distribution module has changed. To support IE11 uploads (see that bug for details) the filename is splitted at the last backslash.

Currently I think it will work much better with the current implementation. Most users are using Windows clients that do not allow backslashes within filenames and under linux I do not suggest to use them, too.


+++ This bug was initially created as a clone of Bug #46709 +++

A customer reported that files uploaded by IE11 are not distributed to teacher/students. The management-console-module-schoolexam.log show the following lines:

16.03.18 15:54:43.211  MODULE      ( INFO    ) : Detected filename '\\\\dcgsmitte\\netlogon\\univention-netlogon-logon.cmd' as '\\\\dcgsmitte\\netlogon\\univention-netlogon-logon.cmd'
16.03.18 15:54:43.211  MODULE      ( INFO    ) : Received file '/var/tmp/univention-management-console-frontend/152121208311437-709BXj7sn', saving it to '/tmp/ucsschool-exam-upload-NSfB4U/\\\\dcgsmitte\\netlogon\\un
ivention-netlogon-logon.cmd'

A test showed that IE11 sends the windows path as "filename" during upload.
Another short test resulted in the following log entry:

20.03.18 13:03:48.757  MODULE      ( INFO    ) : Detected filename 'C:\\Windows\\Installer\\{2690E265-61BB-4655-89E6-A26A54CBCBD5}\\foobar.exe' as .........

Chrome and Firefox send only the filename (here "univention-netlogon-logon.cmd" resp. "foobar.exe").

This also affects the UMC distribution module.
Comment 1 Michel Smidt 2020-07-10 12:59:24 CEST
This issue has been filed against UCS@school 4.2.

UCS@school 4.2 is out of maintenance and many UCS@school components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS@school versions, please reopen it and update the UCS@school version. In this case please provide detailed information on how this issue is affecting you.