Univention Bugzilla – Bug 46730
Files uploaded by linux with backslashes within the filename are not distributed to teacher/students
Last modified: 2023-06-12 15:39:58 CEST
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.
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.