<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>267844</bug_id>
          
          <creation_ts>2011-03-07 01:37:46 +0000</creation_ts>
          <short_desc>Automatic detection of proxy OR proxy URL don&apos;t work</short_desc>
          <delta_ts>2011-04-07 14:48:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>4.6</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kanwar Plaha">Kanwar.Plaha</reporter>
          <assigned_to name="Dawit Alemayehu">adawit</assigned_to>
          <cc>adawit</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.7</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1094270</commentid>
    <comment_count>0</comment_count>
    <who name="Kanwar Plaha">Kanwar.Plaha</who>
    <bug_when>2011-03-07 01:37:46 +0000</bug_when>
    <thetext>Version:           4.6 (using KDE 4.6.1) 
OS:                Linux

This is a KDE-wide issue. Automatic proxy URL does not work. Also, Automatic detection fails. This is causing issues with the proxy setup at my office where a proxy URL is provided.

Reproducible: Always

Steps to Reproduce:
Choose &apos;automatically detect proxy settings&apos; OR &apos;automatic proxy URL&apos;. Try to browse using either Konqueror or any KDE-browser or GHNS and it fails.

Actual Results:  
None.

Expected Results:  
Browsing the internet is possible thru the above methods.

This has been the case since KDE 3.x.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1104914</commentid>
    <comment_count>1</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2011-04-07 07:15:07 +0000</bug_when>
    <thetext>Git commit 98946bcb75615b0900a2b2e124cae89b7c323fd0 by Dawit Alemayehu.
Committed on 29/03/2011 at 00:12.
Pushed by adawit into branch &apos;master&apos;.

KIO proxy overhaul Part I:

Features:
- Switched the PAC file parser from KJS to QtScript.
- Implemented the Microsoft IPv6 PAC extensions.
- Implemented support for returning SOCKS proxy information (only SOCKS5).
- Added a new dbus call, proxiesForUrl, that returns all the proxy addresses
  for a given url.
- Added a new kpactest file to test the new MS IPv6 extension functions.

Fixes:
- Fixed the DateRange function by adding back two missing months in the static
  months array.
- Fixed the DNS related functions by fixing how the lookup works through
  the following modification to the KIO DNS caching code:
    * Added a function, lookupCachedHostInfoFor, for quering the KIO cache for
      information without causing a DNS query.
    * Added a function, cacheLookup, for inserting a DNS lookup result into
      the KIO cache.
- Fixed myIpAddress by using QNetworkInterface, though this fix is still far
  from ideal since it grabs the first suitable interface on multi-homed systems.

REVIEW: 100971
BUG: 153973
BUG: 267844
FIXED-IN: 4.7
DIGEST: KIO Proxy overhaul for KDE 4.7

M  +32   -0    kio/kio/hostinfo.cpp     
M  +4    -0    kio/kio/hostinfo_p.h     
M  +2    -5    kio/misc/kpac/CMakeLists.txt     
M  +1    -0    kio/misc/kpac/kpac_dhcp_helper.c     
M  +2    -2    kio/misc/kpac/kpactest.pac     
A  +63   -0    kio/misc/kpac/kpactest2.pac         [License: UNKNOWN]  *
M  +138  -64   kio/misc/kpac/proxyscout.cpp     
M  +5    -2    kio/misc/kpac/proxyscout.h     
M  +640  -376  kio/misc/kpac/script.cpp     
M  +3    -3    kio/misc/kpac/script.h     

The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


http://commits.kde.org/kdelibs/98946bcb75615b0900a2b2e124cae89b7c323fd0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105101</commentid>
    <comment_count>2</comment_count>
    <who name="Kanwar Plaha">Kanwar.Plaha</who>
    <bug_when>2011-04-07 14:29:54 +0000</bug_when>
    <thetext>Thanks! Can&apos;t wait for 4.7 to test it. Will it make to to the first beta?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105107</commentid>
    <comment_count>3</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2011-04-07 14:48:52 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Thanks! Can&apos;t wait for 4.7 to test it. Will it make to to the first beta?

Yes. I actually welcome any real world production enviornment testing this code can recieve because I have no means of testing it in that scenario, especially the automatic proxy configuration through DHCP and/or DNS poritions. 

If things still do not work for you when the 4.7 beta cycle starts, please reopen this ticket again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>