framework icon indicating copy to clipboard operation
framework copied to clipboard

ThinkPHP Framework

Results 260 framework issues
Sort by recently updated
recently updated
newest added

在双路cpu的服务器上 简单的登录功能 由于SessionInit.php写入session数据是在response之后 会导致登录失败 原因是 第二次请求查询session在写session之前了 导致一直登录失败 希望官方默认版本去掉fastcgi_finish_request这部分代码

场景说明 PC和WAP端同一篇共用一个缓存标签,方便文章更新的时候删除缓存,文章请求缓存有效期为10分钟,文章请求缓存过期了,但缓存标签设置的是永不过期,会导致运行一段时间后,REDIS里存储的缓存标签太多了

Cache

最低php版本都8.0了,这边也应该兼容2.0了

saveAll 方法,不支持模型多主键

question

增加setProxyServer方法,不然之前的功能根本没法用

The Debugging mode does not display system environment parameters. The user-defined parameter is disabled by default. Config: 'show_env_msg' => false

### 所属功能组件 缓存(cache) ### ThinkPHP 版本 v6.1.4 ### 操作系统 Debian11 ### 错误信息 ``` [code] => 8 [message] => unserialize(): Error at offset 2 of 24544 bytes [file] => /www/wwwroot/[project]/vendor/topthink/framework/src/think/cache/Driver.php [line]...

bug

### 所属功能组件 缓存(Cache) ### ThinkPHP 版本 6.0 ### 操作系统 Ubuntu ### 错误信息 cache.php配置如下 ```php return [ 'default' => 'redis', 'stores' => [ // 文件缓存 'file' => [ // 驱动方式 'type'...

bug
Cache

## Vulnerability description A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code. ## Affects Version Thinkphp v6.1.3 to v8.0.4 ## Exploit condition The thinkphp framework...

1.`realpath(dirname(__DIR__))` 变为了 `dirname(__DIR__)`(`__DIR__` 获得的变量已是绝对路径?) 2. `glob()` 函数改为用 `scandir()` 实现 3. 加载多语言时,后缀由不限改为`php/yaml/json`(与[手册](https://doc.thinkphp.cn/v8_0/lang.html#%E8%AF%AD%E8%A8%80%E6%96%87%E4%BB%B6%E5%AE%9A%E4%B9%89)对齐)