Bug 432954 - KDE settings network proxy interface does not honor pac file settings for auto configuration.
Summary: KDE settings network proxy interface does not honor pac file settings for aut...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.78.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-15 00:52 UTC by benibilme
Modified: 2022-07-27 16:08 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benibilme 2021-02-15 00:52:38 UTC
I am using manjaro, kernel 5.4.95-1, kde plasma version 5.20.5, framework version: 5.78.0, qt version: 5.15.2 

The problem is :

the proxy applet in the settings does not honor pac file for auto configuration.

The pac file as follows :

function FindProxyForURL(url, host) 
{
  if (
  
    dnsDomainIs(host, "ieeexplore.ieee.org")     ||
    dnsDomainIs(host, "www.scopus.com")          || 
    dnsDomainIs(host, "onlinelibrary.wiley.com") || 
    dnsDomainIs(host, "link.springer.com")       ||
    dnsDomainIs(host, "sciencedirect.com")       ||
    dnsDomainIs(host, "dl.acm.org") 

  ) 
  {
    return "HTTP username:password@ip:port"
  }
  else 
  {
    return "DIRECT";
  } 
}

This file is tested with pacparser package of manjaro and seems working. It is deployed in firefox and firefox behaves as expected and directs specified urls  through proxy. 

In KDE network settings proxy user interface "Use proxy auto configuration URL" is filled as "file:///etc/proxy.pac". The file is readable by all. 

Firefox proxy setting is selected as the same as system. The computer is rebooted . 

The firefox or other browsers in the system such as chromium or vivaldi etc. can not direct the specified addresses through proxy as it has done before. 

SUMMARY:

KDE setting network proxy interface does not honor pac file settings.