Bug 53779 - UMCP doesn't support Mimetypes containing "+" (e.g. image/svg+xml)
UMCP doesn't support Mimetypes containing "+" (e.g. image/svg+xml)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Florian Best
Christian Castens
:
Depends on:
Blocks: 53366
  Show dependency treegraph
 
Reported: 2021-09-13 11:47 CEST by Florian Best
Modified: 2021-09-15 17:42 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Florian Best univentionstaff 2021-09-13 11:47:53 CEST
When a UMC module responds with a mimetype="image/xml+svg" the internal UMCP parsing fails:

MAIN        ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m computerroom -s /var/run/univention-management-console/14643-1631243768915.socket -d 4 -l en_US.UTF-8
PARSER      ( ERROR   ) : Error parsing UMCP message header: 'RESPONSE/163124377335138-349/3221/image/svg+xml: COMMAND computerroom/screenshot'
MAIN        ( WARN    ) : Client: _recv: error parsing message: (551, 'Unverständlicher nachrichtenkopf')
MAIN        ( ERROR   ) : Module 'computerroom' ran into error: (551, 'Unverständlicher nachrichtenkopf')
MAIN        ( WARN    ) : Invalidating all pending requests 163124377335138-349
MAIN        ( WARN    ) : Module process computerroom died (pid: 19662, exit status: -1, signal: -1, status: -1)
MAIN        ( WARN    ) : Cleaning up requests 
MAIN        ( WARN    ) : Remove inactivity timer
MAIN        ( PROCESS ) : ModuleProcess: stopping 19662
MAIN        ( WARN    ) : Socket died (module=computerroom)
Comment 1 Florian Best univentionstaff 2021-09-13 12:01:16 CEST
univention-management-console.yaml
6d842b7a2b18 | Bug #53779: support + in mimetypes

univention-management-console (12.0.12-14)
6d842b7a2b18 | Bug #53779: support + in mimetypes
Comment 3 Christian Castens univentionstaff 2021-09-13 22:44:04 CEST
QA:

With the new changes the errors do not occur anymore (tested with computerroom module where these errors first got noticed)


code review:       OK
yaml, changelog:   OK