Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jwt.go #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update jwt.go #35

wants to merge 1 commit into from

Conversation

Leadrive
Copy link
Contributor

@Leadrive Leadrive commented Jun 6, 2019

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

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

andeya commented Jun 6, 2019

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

@Leadrive
Copy link
Contributor Author

Leadrive commented Jun 6, 2019

之前的代码,是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