Skip to content

FileChooser: Strip trailing null bytes

Kai Uwe Broulik requested to merge work/kbroulik/strip-qbytearray-nul into master

In Qt 6 those aren't implicitly dropped anymore.


Fixes downloads in Chrome and Firefox opening in /home/foo because they sent us /home/foo/Downloads\0

Inspired by frameworks/solid@6d245e50

@sitter

Merge request reports