Skip to content

Update jwt.go - #35

Open
Leadrive wants to merge 1 commit into
andeya:masterfrom
Leadrive:patch-2
Open

Update jwt.go#35
Leadrive wants to merge 1 commit into
andeya:masterfrom
Leadrive:patch-2

Conversation

@Leadrive

@Leadrive Leadrive commented Jun 6, 2019

Copy link
Copy Markdown
Contributor

ios某些版本,有空格的话,会报SyntaxError DOM Exception 12,前端调用时可以改用Bearer/xxxxxxxxx格式,兼容之前的Bearer xxxxxxxxx格式

ios某些版本,有空格的话,会报SyntaxError DOM Exception 12,前端调用时可以改用Bearer/xxxxxxxxx格式,兼容之前的Bearer xxxxxxxxx格式
@andeya

andeya commented Jun 6, 2019

Copy link
Copy Markdown
Owner

该处理方案源自哪里?是否为通用标准?

@Leadrive

Leadrive commented Jun 6, 2019

Copy link
Copy Markdown
Contributor Author

之前的代码,是Bearer与token之间以空格分开,目前是多支持了一种,以/分开。不影响之前的实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants