http://bugzilla.novell.com/show_bug.cgi?id=544896 Summary: CUPS bug in 1.3.9 version Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: 64bit OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse-communityscreening@forge.provo.novell.com ReportedBy: alex@linuxdoctor.net QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 http://cups.org/str.php?L3022 Can't access the CUPS web interface remotely. All of URIs have a loopback interface address. Reproducible: Always Steps to Reproduce: 1. Access your CUPS web-interface from another computer http://LOCAL_Ne_IP:631 2. try to go into the printer details 3. Actual Results: Get an error page cannot be displayed. Link not found http://127.0.0.1:631 Expected Results: Should access the printer details page Here is a patch from CUPS.ORG Index: cgi-bin/ipp-var.c =================================================================== --- cgi-bin/ipp-var.c (revision 8214) +++ cgi-bin/ipp-var.c (working copy) @@ -778,7 +778,7 @@ int urlsize, /* I - Size of URL buffer */ const char *newresource) /* I - Replacement resource */ { - char method[HTTP_MAX_URI], + char scheme[HTTP_MAX_URI], userpass[HTTP_MAX_URI], hostname[HTTP_MAX_URI], rawresource[HTTP_MAX_URI], @@ -825,13 +825,13 @@ * Convert the URI to a URL... */ - httpSeparateURI(HTTP_URI_CODING_ALL, uri, method, sizeof(method), userpass, + httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, rawresource, sizeof(rawresource)); - if (!strcmp(method, "ipp") || - !strcmp(method, "http") || - !strcmp(method, "https")) + if (!strcmp(scheme, "ipp") || + !strcmp(scheme, "http") || + !strcmp(scheme, "https")) { if (newresource) { @@ -870,7 +870,9 @@ * Map local access to a local URI... */ - if (!strcasecmp(hostname, "localhost") || + if (!strcasecmp(hostname, "127.0.0.1") || + !strcasecmp(hostname, "[::1]") || + !strcasecmp(hostname, "localhost") || !strncasecmp(hostname, "localhost.", 10) || !strcasecmp(hostname, server) || !strcasecmp(hostname, servername)) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.