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 prefix DIRECTORY_SEPARATOR #41

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Update prefix DIRECTORY_SEPARATOR #41

merged 1 commit into from
Jul 24, 2024

Conversation

Jesse176
Copy link
Contributor

@Jesse176 Jesse176 commented Jul 9, 2024

如果在windows环境设置 prefix=test
上传的文件路径会变成 /test\images/1.png
因为windows下 DIRECTORY_SEPARATOR = \

去掉传参 DIRECTORY_SEPARATOR 后, 文件路径正常.

如果在windows环境设置 prefix=test
上传的文件路径会变成 /test\images/1.png
因为windows下 DIRECTORY_SEPARATOR = \

去掉传参 `DIRECTORY_SEPARATOR` 后, 文件路径正常
@overtrue overtrue merged commit 62bbfc1 into overtrue:master Jul 24, 2024
4 checks passed
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