Skip to content

对路径进行 URI 编码 #12

@akdcl

Description

@akdcl

_nodeModulePath = PathHelper.normalize(Path.Combine(nodeModulePath, "node_modules").Replace("\\", "/"));

建议修改为:

_nodeModulePath = Uri.EscapeUriString(PathHelper.normalize(Path.Combine(nodeModulePath, "node_modules").Replace("\\", "/")));

建议对路径进行 URI 编码,与 JS 中使用 URL 进行编码的行为一致。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions