Re: [w3c/FileAPI] fix: no special character replacement in fileName (#171)

@annevk commented on this pull request.



> @@ -690,8 +690,7 @@ user agents must run the following steps:
 
 
 2. Let |n| be a new string of the same size as the {{fileName}} argument to the constructor.
-  Copy every character from {{fileName}} to |n|,
-  replacing any "/" character (U+002F SOLIDUS) with a ":" (U+003A COLON).
+  Copy every character from {{fileName}} to |n|.

We could make simplify this to

> Let |n| be the {{fileName}} argument to the constructor.

(There are further simplifications possible, but that would require more refactoring than warranted here.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/171#pullrequestreview-645754565

Received on Tuesday, 27 April 2021 11:45:01 UTC