Abacn commented on code in PR #39363:
URL: https://github.com/apache/beam/pull/39363#discussion_r3623792748


##########
runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/artifact/ArtifactStagingService.java:
##########
@@ -510,8 +510,10 @@ private String createFilename(String environment, 
RunnerApi.ArtifactInformation
         // all path separators.
         List<String> components = 
Splitter.onPattern("[^A-Za-z-_.]]").splitToList(path);
         String base = components.get(components.size() - 1);
+        String sanitizedEnvironment = 
environment.replaceAll("[<>:\"/\\\\|?*]", "_");

Review Comment:
   I understand non-ascii unicode file names are acceptible?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to