fix(fresh/plugin-vite): fix staticFiles path encode ([#3657](https://github.com/denoland/fresh/issues/3657)) #3659
+94
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #3657
a.
prepareStaticFile()函数 转化test %20encodeUri为test%20%20encodeUri,而非test%20%2520encodeUri的问题.prepareStaticFile()function convertstest %20encodeUritotest%20%20encodeUri, instead oftest%20%2520encodeUrib.
staticFiles路径编码与freshServeStaticFiles()函数存在重复编码问题.There is a double encoding issue caused by duplicate path encoding logic between staticFiles and the
freshServeStaticFiles()functiona. devServer 中通过 urlpath 读取系统文件时的路径转编码异常问题
Path encoding conversion error when
devServerreads system files via urlpath