Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no special character replacement in fileName #171

Merged
merged 2 commits into from Apr 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions index.bs
Expand Up @@ -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|.
lucacasonato marked this conversation as resolved.
Show resolved Hide resolved

Note: Underlying OS filesystems use differing conventions for file name;
with constructed files, mandating UTF-16 lessens ambiquity when file names are converted to <a>byte</a> sequences.
Expand Down