Skip to content

符号'+'被错误地编码成%20,而不是%2B #1003

@taxi666

Description

@taxi666

<Vue.js & vue-router.js version

2.1.1

Steps to reproduce

后端程序返回的链接里面带有如下的query

userId=UImUwZXM4RE/JI4Vh++NQL4fr5xZA=,会被vue-router编码成userId=UImUwZXM4RE%2FJI4Vh%20%20NQL4fr5xZA%3D
但是应用decodeURIComponent解码却为userId=UImUwZXM4RE/JI4Vh NQL4fr5xZA=
'+'符号被错误地编码成%20,而不是%2B。

What is Expected?

符号'+'被正确地编码为 %2B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions