Generated with the help of an LLM.
On Drupal 11.5.0-beta1 the test suite has one failure: ScaledUploadCopyTest::testAc13TheWarningCleansTheFileName. The test uploads a file whose name holds U+202E, U+200B and U+2028, and expects each of them as ? in the warning logged when the original cannot be kept. Drupal 11.5 adds the Unicode categories Cc and Cf to the characters SecurityFileUploadEventSubscriber replaces with _, so core now cleans U+202E and U+200B before this module sees the name, and the warning says evil_gnp_x?y.png. The module still cleans what reaches it (U+2028 is not in those categories), and no invisible character reaches the log; only the test's literal expectation assumes core leaves the name alone. No CI job runs 11.5 yet, but 11.5.0 is due in December.
The fix changes only the test: it accepts ? or _ for the two characters core may clean, still requires ? for U+2028 on every core, and asserts that none of the three is left. No module code changes. The whole suite is green on Drupal 11.3.20, 11.4.11 and 11.5.0-beta1, and the test turns red on all three when the module's cleaning is disabled.
Comments
Comment #3
maurice1969 commentedCommitted to 1.0.x as 819f2b1; all nine CI jobs green (pipeline 1028105).