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

企业版文件命名问题,上传的图片需要自动替换文件名特殊符号 #758

Open
nankingrider opened this issue Jan 5, 2024 · 2 comments

Comments

@nankingrider
Copy link

图片文件名携带特殊符号时, 可以正确上传, 但是 bbcode 不兼容, 导致图片无法显示

建议在处理时能够批量替换特殊符号再上传

另外, 当出现这种情况时, 本地修改图片文件名之后上传, 也无法获取到正确的 url , 因为通过 md5 校验图片存在之后直接返回了之前带特殊符号的 url

需要人工删除旧的图片再重新上传

使用上非常不方便.

建议优化

@wisp-x
Copy link
Collaborator

wisp-x commented Jan 5, 2024

用的是原文件名命名规则吗?

@iceyumao
Copy link

iceyumao commented Jan 7, 2024

用的是原文件名命名规则吗?

应该是的,这个之前我也提过

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

3 participants