修复参数过滤错误

修复附件列表引入文件错误
pull/378/MERGE
Karson 2023-03-28 16:14:38 +08:00
parent 22c2f66e3a
commit b281396aee
4 changed files with 7 additions and 6 deletions

View File

@ -29,7 +29,7 @@ FastAdmin是一款基于ThinkPHP+Bootstrap的极速后台开发框架。
* 第三方小程序支持([CMS小程序](https://www.fastadmin.net/store/cms.html)、[预订小程序](https://www.fastadmin.net/store/ball.html)、[问答小程序](https://www.fastadmin.net/store/ask.html)、[点餐小程序](https://www.fastadmin.net/store/unidrink.html)、[B2C小程序](https://www.fastadmin.net/store/shopro.html)、[B2B2C小程序](https://www.fastadmin.net/store/wanlshop.html)、[博客小程序](https://www.fastadmin.net/store/blog.html))
* 整合第三方短信接口(阿里云、腾讯云短信)
* 无缝整合第三方云存储(七牛云、阿里云OSS、又拍云)功能,支持云储存分片上传
* 第三方富文本编辑器支持(Summernote、Kindeditor、百度编辑器)
* 第三方富文本编辑器支持(Summernote、百度编辑器)
* 第三方登录(QQ、微信、微博)整合
* 第三方支付(微信、支付宝)无缝整合微信支持PC端扫码支付
* 丰富的插件应用市场
@ -92,6 +92,6 @@ FastAdmin遵循Apache2开源协议发布并提供免费使用。
本项目包含的第三方源码和二进制文件之版权信息另行标注。
版权所有Copyright © 2017-2022 by FastAdmin (https://www.fastadmin.net)
版权所有Copyright © 2017-2023 by FastAdmin (https://www.fastadmin.net)
All rights reserved。

View File

@ -5,6 +5,7 @@ return [
'Username' => '用户名',
'Nickname' => '昵称',
'Password' => '密码',
'Mobile' => '手机号',
'Sign up' => '注 册',
'Sign in' => '登 录',
'Sign out' => '退 出',

View File

@ -66,7 +66,7 @@ class User extends Frontend
*/
public function register()
{
$url = $this->request->request('url', '', 'trim|xss_clean');
$url = $this->request->request('url', '', 'trim,xss_clean');
if ($this->auth->id) {
$this->success(__('You\'ve logged in, do not login again'), $url ? $url : url('user/index'));
}
@ -145,7 +145,7 @@ class User extends Frontend
*/
public function login()
{
$url = $this->request->request('url', '', 'trim|xss_clean');
$url = $this->request->request('url', '', 'trim,xss_clean');
if ($this->auth->id) {
$this->success(__('You\'ve logged in, do not login again'), $url ? $url : url('user/index'));
}
@ -199,7 +199,7 @@ class User extends Frontend
*/
public function mobilelogin()
{
$url = $this->request->request('url', '', 'trim|xss_clean');
$url = $this->request->request('url', '', 'trim,xss_clean');
if ($this->request->isPost()) {
$mobile = $this->request->post('mobile');
$captcha = $this->request->post('captcha');

View File

@ -1,4 +1,4 @@
<link rel="stylesheet" href="__CDN__/assets/libs/bootstrap-table/dist/bootstrap-table.min.css">
<link rel="stylesheet" href="__CDN__/assets/libs/fastadmin-bootstraptable/dist/bootstrap-table.min.css">
{if $Think.get.dialog}
<style>
body {