Status: Unconfirmed Owner: ---- Labels: OS-Linux Area-Misc Size-Medium Type-Bug
New issue 20407 by codedr: proxy env variable parsing fails http://code.google.com/p/chromium/issues/detail?id=20407 Chrome Version : 24437 2009-08-26 OS + version : linux 2.6.27 CPU architecture (32-bit / 64-bit): 64-bit window manager : n/a URLs (if applicable) : n/a Behavior in Firefox 3.x (if applicable): n/a Behavior in Chrome for Windows (optional): n/a What steps will reproduce the problem? 1. host OS set proxy variables of the form: http_proxy=http://x.xx.xxx.x:nn/ 2. the trailing '/' is included in the port number parsing and causes the port number parsing to fail. googleurl/src/url_parse.cc DoParsePort() returns an error if any chars in the string are not a digit. A solution may be if it merely stopped scanning at the non-digit char, and returned an error if the string was zero length. What is the expected result? The proxy is set correctly for the proxy env variables. What happens instead? [5848:5848:1556981639:ERROR:net/proxy/proxy_config_service_linux.cc(76)] Failed to parse environment variable http_proxy [5848:5848:1556981651:ERROR:net/proxy/proxy_config_service_linux.cc(76)] Failed to parse environment variable https_proxy [5848:5848:1556981661:ERROR:net/proxy/proxy_config_service_linux.cc(76)] Failed to parse environment variable ftp_proxy -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
