fix(app): redact bilibili device ids and merge matching cdn rules - #186
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
9c 錄製時發現的兩個遮蔽缺口(ADR 0011)。
問題
buvid(匿名裝置 id)與hdnts(Akamai 鏡像的 token)。9c 第一次錄製的串流網址帶著這兩個值。官方插件靠 manifest 補上了,其他插件會漏。Redactor只套用第一個符合 host 的MediaCdn。內建規則排在前面,所以插件替同一個 host 追加的參數不會生效。修正
_bilibiliSigned加上buvid、hdnts。signedPath就套用。只符合一條規則的網址,輸出和以前相同。MediaCdn的說明、logging spec 與 plugins spec。連帶
hdnts=***/buvid=***,結果由掃描驗證。***而不是整個拿掉」的建議記在 M1implement.md的後續,M3 前處理。驗證
dart analyze --fatal-infos、flutter analyze都零問題;flutter test519 個通過;哨兵通過。