cefsharp / cefsharp/CefSharp

CookieAccessFilter will cause cookie not sent in some requests

Ouverte
#4,074 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
10.3k
Forks
2.9k
Merge moyen
5 j 22 h
PR mergées (30 j)
4

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par le comportement de CookieAccessFilter décrit dans l’issue et le chemin de retour de CanSentCookie ; le dépôt lié CefSharpCookieFilterIssue et la branche CefSharp.MinimalExample fournissent le contexte de reproduction. Reproduisez la requête vers https://mstra.rjrpub.com/MicroStrategyLibrary/?loginMode=1048576 et vérifiez que le cookie est envoyé lorsque le filtre l’autorise, en faisant correspondre le comportement à celui obtenu avec le filtre désactivé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
networking
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.