SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40538: Web addresses that contain a colon can cause the URL filename engine to fail with an error of "Hostname host not found"

DetailsHotfixAboutRate It

When reading a website using the URL filename engine, SAS will parse the address for a colon to determine the host name and/or port specification for the server. If the address has a colon elsewhere (not between the host and port), SAS will parse the host improperly.

For example, the address of:
      http://spreadsheets.google.com/ccc?key=0Apl4Rhfuebd9dFV4c2tHbXl6cEF1eWFFbHJPNHVMT1E&hl=en#gid=0

causes a redirection to the site:
      http://www.google.com/url?q=http://spreadsheets.google.com/ccc?key%3D0Apl...MT1E%26hl%3Den%26pref%3D2&sa=p

and subsequently, the engine attempts to reach host:
      www.google.com/url?q=http

which is the string found between "http://" and ":".

The error returned will be something similar to:

NOTE: Unable to connect to host www.google.com/url?q=http. Check validity of host name. ERROR: Hostname www.google.com/url?q=http not found. NOTE: The SAS System stopped processing this step because of errors.
Use of a Proxy server will normally correct this problem as the server will pass the hostname to the URL filename engine.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASz/OS9.219.39.2 TS2M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft® Windows® for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x649.219.39.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional9.219.39.2 TS2M09.3 TS1M0
Windows Vista9.219.39.2 TS2M09.3 TS1M0
Windows Vista for x649.219.39.2 TS2M09.3 TS1M0
64-bit Enabled AIX9.219.39.2 TS2M09.3 TS1M0
64-bit Enabled HP-UX9.219.39.2 TS2M09.3 TS1M0
64-bit Enabled Solaris9.219.39.2 TS2M09.3 TS1M0
HP-UX IPF9.219.39.2 TS2M09.3 TS1M0
Linux9.219.39.2 TS2M09.3 TS1M0
Linux for x649.219.39.2 TS2M09.3 TS1M0
OpenVMS on HP Integrity9.219.39.2 TS2M09.3 TS1M0
Solaris for x649.219.39.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.