cefsharp / cefsharp/CefSharp

CookieAccessFilter will cause cookie not sent in some requests

Aperta
#4,074 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
10.3k
Fork
2.9k
Merge medio
5g 22h
PR unite (30g)
4

Descrizione

- **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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con il comportamento di CookieAccessFilter descritto nell’issue e il percorso di ritorno di CanSentCookie; il repository collegato CefSharpCookieFilterIssue e il branch CefSharp.MinimalExample forniscono il contesto per la riproduzione. Riproduci la richiesta a https://mstra.rjrpub.com/MicroStrategyLibrary/?loginMode=1048576 e verifica che il cookie venga inviato quando il filtro lo consente, verificando che il comportamento corrisponda a quello con il filtro disabilitato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
networking
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.