Skip to content

Hotfix for bug that caused UnmappableError

Tim van der Horst requested to merge non-ascii-zips-hotfix into development

Description

Fixes exception java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: builds/eip/code-measures/.git/logs/refs/remotes/origin/?untars?

For some reason non-ascii characters are not encoded properly on the worker docker container. In this fix, non-ascii characters are URL escaped.

Also fixes various CPM-related bugs.

Closes #212 (closed), #213 (closed), #214 (closed)

Changes

  • Corrected script approval/disapproval message in CPM controller.
  • Added encoding for filenames in the Unpacker.

Additions

  • Added encoder class for files with non-ascii characters

Test and Review

To be filled in by the reviewers

  • All of the methods are commented to expectation

  • The methods are tested to satisfaction

  • There are no unnecessary files present in the MR

  • The continuous integration has no problems with the MR

  • The MR is filled in as requested (including labels, milestones, and reviewers)

  • The documentation is up-to-date

  • All nullable parameters are marked as such

Edited by Luc Everse

Merge request reports

Loading