問題修正紀錄
UI
Scroll
Chrome
Samsung
- 當圖片的 url 是透過 "createObjectURL" 產生時,Samsung Browser 無法長按下載圖片(選單中沒有下載按鈕),需使用 base64 格式或是 http 協議才可以
- Samsung Browser Night mode issue 導致 UI 色彩被強制改變造成異常
- 預設狀態 Input element 的 keyboard 事件
event.code
為空值,需明確指定enterKeyHint
比如enterKeyHint="search"
,並透過event.key
判斷按鍵,如果沒有設定 enterKeyHint,則event.key
會是Unidentified
Sonarcube
- Main Branch does not reflect latest analyses 可能因為 Github push event 被設定或判定成 pull request 導致 main branch 沒有被正確解析
Docker
- Windows系統使用docker部署mongo報錯:Operation not permitted
- Mac M1 晶片 Mysql 錯誤 Error:no matching manifest for linux/arm64/v8 in the manifest list entries
Google GTM Related
Computed
Webpack
Nextjs
- Nextjs Jest with svgr/webpack component issue
- Next13 Image 組件安全性問題
- Next v13.5.1~14.2.9 pageProps json issue
- input
curl -v http://localhost:3000/demo2 -H "x-now-route-matches: 1"
, will starts returningCache-Control: s-maxage=1, stale-while-revalidate
. - This json-format html page would got cached mistakenly and cause user info leak to other users. And since the page is still html, the cached page would also hurt SEO for Google.
?__nextDataReq=1
in Next server url would return pageProps from Nextjs server, make sure you really need SSR, since these may cause some security issue if you did not aware of this.
- input