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

子系统对接saToken后请求图片返回非法请求的问题 #720

Open
taimingkang opened this issue Dec 27, 2024 · 1 comment
Open

Comments

@taimingkang
Copy link

使用版本:

1.39.0

涉及的功能模块:

对接单点登录后,请求图片的时候,如果图片地址带双斜杠,会返回200但提示非法请求的问题。

测试步骤:

1、请求图片url:127.0.0.1:8089//profile/upload/2024/12/27/1c6ee8e3.jpg,会返回200,但页面出现:非法请求://profile/upload/2024/12/27/1c6ee8e3-d54e-4255-a5ce-22b40abc9735.jpg
2、在pom.xml中jiang将sa-token的包移除,此时请求带双斜杠的图片url是正常的。请问sa-token会拦截这种带双斜杠的请求吗?

@taimingkang
Copy link
Author

taimingkang commented Dec 27, 2024

已定位到问题代码,请问需要如何调整?

微信截图_20241227103139

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

No branches or pull requests

1 participant