laravel-admin-extensions / laravel-admin-extensions/cropper
在safari下裁剪图片只显示一半BUG
Open
- Dominant language
- PHP
- Stars
- 71
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
在safari下裁剪图片只显示一半BUG, 不是必现, 貌似只有在图片大一点的情况下比如 5M左右, 裁剪才会出现, 目前排查的情况应该是 sarari在提交base64编码的时候时进行了特殊符号的转义, 比如 + , =, 等字符, 也有可能不同的浏览器对 + 号的处理不一致导致, 所以希望能修复, 我的办法是 把 +,= 用其他字符代码, 然后服务器再返替换. 问题是到裁剪的原始图片达到10M以后, JS替换就会很慢, 很卡.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Start by reproducing the crop failure in Safari with images around 5–10 MB and inspect the base64 submission path, including how special characters are encoded and decoded. Done means large images crop consistently without being truncated or becoming unresponsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100