Created attachment 176454 [details] Screenshot of custom User Agent Manager setting for specific web page not sent correctly SUMMARY In the User Agent Manager, when setting a custom user agent string for specific sites, Falkon 24.08.3 still sends the global string instead. STEPS TO REPRODUCE 1. Create a web page that requires a custom user agent string to access it, such as PHP's $_SERVER['HTTP_USER_AGENT'] variable. 2. Create a custom user agent for that web page in the User Agent Manager for that specific domain and/or page 3. Attempt to access the page in Falkon 24.08.3 OR 1. Create a web page that echos the user agent string 2. Create a custom user agent for that web page or the domain 3. Open the page in Falkon 24.08.3 OBSERVED RESULT The user agent string is the Global one, rather than the custom one set for that specific page or domain EXPECTED RESULT The user agent string should be the one set in the section for specific sites. SOFTWARE/OS VERSIONS Linux: Linux Mint Versions 21 & 22 ADDITIONAL INFORMATION
Hello, it works fine for me. I believe this weorks with QUrl.host() only, so remove the "https://" and the trailing slash. When I write "duckduckgo.com" and user "whatever" as userAgent, DuckDuckGo will see "whatever" as user agent. PS: I agree with that this dialog needs some polishing. Best regards, Juraj
A possibly relevant merge request was started @ https://invent.kde.org/network/falkon/-/merge_requests/100