laravel-u-editor
laravel-u-editor copied to clipboard
UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.
ErrorException in Upload.php line 131: rand() expects parameter 2 to be integer, float given ``` $randNum = rand(1, 10000000000) . rand(1, 10000000000); ``` changed to ` $randNum = rand(1, 100000000)...
UploadCatch.php 17行会将图片链接转为小写,如果链接本身就存在大写字母的会产生错误。我已修改了提交了一个分支,希望可以得到修复。
上传文档泄露
http://your-domain/laravel-u-editor-server/server?action=xxx (xxx 可以为 config、listfile、listimage、uploadimage、uploadscrawl、uploadvideo、 uploadvideo、catchimage) 如请求http://your-domain/laravel-u-editor-server/server?action=config 可以查看配置文件。 而请求http://your-domain/laravel-u-editor-server/server?action=listfile&start=0&size=100 则会泄露管理员上传过的全部文档,包括提交过和未提交过的,只要使用了 ueditor 编辑器上传的都可列出来(其中 size 为文件最大数,设置一个较大的数即可)
什么时候增加阿里云的OSS云存储!!!
申请地址:https://github.com/fex-team/ueditor/issues/887