CookieAccessFilter will cause cookie not sent in some requests
- 主要言語
- C#
- スター
- 10.3k
- フォーク
- 2.9k
- 平均マージ
- 5日 22時間
- マージ済み PR(30日)
- 4
説明
- **What version of the product are you using?**
- What version are you using? Nuget 86.0.241, 95.7.141, 100.0.23 (latest one)
- Issue is reproducible for all the CefSharp versions
- **What architecture x86 or **x64**?** I tested it in x64, but I think it doesn't matter
- **On what operating system?**
- Win7, Win 8, **Win10**, etc? I tested it in Win 10, but I think it doesn't matter
- **Are you using `WinForms`, `WPF` or `OffScreen`?** **WPF**
- **What steps will reproduce the problem?**
- Please provide detailed information here, enough for someone else to reproduce your problem.
1. open the url `https://mstra.rjrpub.com/MicroStrategyLibrary/?loginMode=1048576` in cefsharp browser
2. if the cookie filter is set, it will show an error page
3. More info is under https://github.com/andrewzjl/CefSharpCookieFilterIssue
Same change is done in the forked branch https://github.com/andrewzjl/CefSharp.MinimalExample/tree/CefSharpCookieFilterIssue
- **What is the expected output? What do you see instead?** It should be the same as the cookieFilter not set, if the cookieFilter.CanSentCookie return true
- **Please provide any additional information below.**
- A stack trace if available, any Exception information.
No Exception, but the cookie is not sent
- Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory)
No
- Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls?
I don't know why the cookie is missed, but it happens
コントリビューションガイド
調査の方向性
issue に記載されている CookieAccessFilter の動作と、CanSentCookie の戻り経路から始めてください。リンクされている CefSharpCookieFilterIssue repository と CefSharp.MinimalExample branch が再現のコンテキストを提供します。https://mstra.rjrpub.com/MicroStrategyLibrary/?loginMode=1048576 へのリクエストを再現し、フィルターが許可した場合に cookie が送信されることを、フィルターを無効にした場合の動作と一致することを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100