Backslashes in file_put_contents()
还没有人认领这个 Issue。
评估
调研方向
Start at line 12 of resources/views/components/pre-update.blade.php, linked in the issue, and inspect the file_put_contents() path used during the built-in update. Verify the update writes to the intended resources/views/update.blade.php path rather than creating a backslash-named file at the site root. Done means the intended file is written and no stray root-level file appears.
由索引模型根据 Issue 内容生成。
描述
I was on 4.8.4. I opted in for the beta version and updated to the latest beta (4.9.0 21) with the built-in update feature.
Later I noticed a strange new file in my file system:
A new file named "resources\views\update.blade.php" appeared at the root of the site.
It turns out this line is the culprit, the backslashes should be forward slashes:
The result is an extra file that shouldn't be there:
MAMP PRO 6.9 on macOS 15.5, with Apache and PHP 8.2.13
- 主要语言
- PHP
- 星标
- 3.9k
- 派生
- 440
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LinkStackOrg/LinkStack 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
LinkStackOrg/LinkStack#1014 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
LinkStackOrg/LinkStack#1011 ·
-
难度 3/5 半天 新手友好度 55/100
LinkStackOrg/LinkStack#1008 ·
-
难度 3/5 1-2 天 新手友好度 62/100
LinkStackOrg/LinkStack#1007 ·
-
难度 4/5 3-5 天 新手友好度 44/100
LinkStackOrg/LinkStack#1003 · 1 条评论 ·
查看 LinkStackOrg/LinkStack 的全部 Issue
相似的 Issue
-
sync-en
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
-
sync-en
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 2 天内回复
-
Issue: ready for confirmation
难度 2/5 1-3 小时 新手友好度 78/100
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 72/100
coollabsio/coolify#12274 ·
维护者通常 1 天内回复