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

为什么缓存文件要保存在pubilc目录下? #31

Open
jifee8505 opened this issue Apr 29, 2020 · 2 comments
Open

为什么缓存文件要保存在pubilc目录下? #31

jifee8505 opened this issue Apr 29, 2020 · 2 comments

Comments

@jifee8505
Copy link

jifee8505 commented Apr 29, 2020

image

这个不是很合理吧

$image = $this->base64_image_content($base64,public_path('uploads/base64img_cache'));

@EVA09
Copy link
Member

EVA09 commented Apr 29, 2020

安全性上的考虑么?这个地方没做过多的安排,就是单纯找个目录放起来后面做提调使用,文件名是随机的,也不存在什么问题。 当时就是觉得,放在一个开放目录下面,方便后期删除吧。

@Chen-Zhitong
Copy link
Contributor

最新版本已经修复了

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