v0.3.6 -> v0.3.8
Summary
- v0.3.7 Makes cancellation during manual verification explicit and brings the bilingual documentation into the repository.
- v0.3.8 Tightens fetch input validation and adds multilingual error-title detection for page extraction. Profile selection now defaults to the last active browser profile when none is specified.
翻譯
- v0.3.7 讓手動驗證的取消狀態更明確,並將雙語文件站納入版本庫。
- v0.3.8 收緊擷取網址的輸入驗證,並為頁面萃取加入多語系錯誤標題辨識。未指定設定檔時,預設改沿用最後使用的瀏覽器設定檔。
Changes
FEAT
- Add
ValidURLand tighten URL validation in page fetching (@pardnchiu) [37405ab]- Reject URLs exceeding 2048 characters, containing embedded credentials, or lacking a valid hostname with a dot
- Standardize validation errors with the
[Invalid]prefix while keeping the scheme requirement inparseHref
- Add
IsErrorPageTitlewith embedded multilingual error-page title patterns (@pardnchiu) [37405ab]- Match lowercase substrings against 101 patterns covering 404, 403, 410, and access-denied titles in
core/embed/error_page_titles.json
- Match lowercase substrings against 101 patterns covering 404, 403, 410, and access-denied titles in
- Default
Option.Profileto the last used Chrome profile fromLocal State(@pardnchiu) [37405ab]- Fall back to
"Default"when the Chrome profile root orprofile.last_usedfield is unavailable
- Fall back to
翻譯
- 新增
ValidURL並收緊頁面擷取的網址驗證- 拒絕超過 2048 字元、內含帳號密碼或主機名稱不含點號的網址
- 統一以
[Invalid]前綴回報驗證錯誤,並於parseHref保留協定必填檢查
- 新增
IsErrorPageTitle與內嵌的多語系錯誤頁標題樣式表- 以小寫子字串比對
core/embed/error_page_titles.json內 101 筆涵蓋 404、403、410 與拒絕存取的標題樣式
- 以小寫子字串比對
- 當
Option.Profile未指定時,預設改讀取Local State中最後使用的 Chrome 設定檔- 當 Chrome 設定檔根目錄或
profile.last_used欄位無法取得時,退回使用"Default"
- 當 Chrome 設定檔根目錄或
FIX
- End the manual verification wait when the browser window closes (@pardnchiu) [ce42ee2]
- Return
ErrChallengeClosedso callers can distinguish cancellation from a timeout
- Return
翻譯
- 關閉瀏覽器視窗時,結束手動驗證等待
- 回傳
ErrChallengeClosed,讓呼叫端區分取消與逾時
- 回傳
Scope
-
core/— FEAT (fetch.go,launcher.go) -
core/embed/— FEAT (error_page_titles.json) -
core/challenge.go— FIX -
README.md— DOC -
doc/— DOC -
wiki-worker/— DOC -
.gitignore,.gitattributes— DOC
Generated by SKILL
Top comments (0)