Improve UTF-8 exception message assertion in sanitize filename test

Improved the exception message assertion in UTF-8 filename validation test.

The updated assertion ensures that the error message explicitly relates to UTF-8 issues, making the test more robust and future-proof.

Merge request reports

Loading