non-ascii character in directory name breaks web ui display

Summary

A directory with a name that starts with certain utf-8 character will not be displayed by the web ui. It furthermore destroys the entire display rendering columns Last commit and Last update unreadable.

Steps to reproduce

Create a directory name Änderungen in a repository and check the Repository view of the project at https://gitlab.com.

Example Project

https://gitlab.com/thesix/gitlab-webui-display-bug

What is the current bug behavior?

  • instead of the directory icon and name only the icon is shown
  • Columns Last commit and Last update are unreadable

What is the expected correct behavior?

The directory name should be displayed.

Relevant logs and/or screenshots

screenshot

Possible fixes

Javascript console displays an error URIError: malformed URI sequence here:

https://assets.gitlab-static.net/assets/webpack/sentry.0b863e65.chunk.js

Edited by Jogi Hofmüller