MicrosoftEdge / MicrosoftEdge/WebView2Feedback

With EdgeWebview Custom user agent not appearing in tunneling requests

Open
#2,342 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
I am setting the custom user agent using https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2settings.useragent?view=webview2-dotnet-1.0.1150.38 ,however custom useragent is not sent in tunneling requests when proxy is involved

Version
SDK: Release
Runtime: 100.0.1185.29
Framework: WPF
OS: Win10

Repro Steps
With edge webview sample app with custom user agent configured and fiddler running browse any https website
In the tunneling request configured custom user agent is not seen

AB#38900793

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Edge WebView sample app configured with a custom user agent, then reproduce the behavior while browsing an HTTPS site with Fiddler running. Compare the tunneling request with the configured user agent; the issue is done when the custom user agent appears in that request.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.