Cannot load HTML when filename contains non-ASCII characters and with module <script>
#13527
Closed
7 tasks done
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
I started a very basic Vite project, with a link to another HTML. But when the linked HTML filename contains non-ASCII, this error will occur on loading:
htmlProxyMap.get(...).get(...) is undefined
Reproduction
https://stackblitz.com/edit/vitejs-vite-q7zxua?file=index.html
Steps to reproduce
á
buttonYou can notice there are three HTML files:
a
andá
have the exactly same content, but plaina
can be loaded successfully, the acute one can't be.á2
also has the same content except using<script>
instead of<script type="module">
, and it can be loaded as well.System Info
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: