You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
ServerName not treated as allowed Host: value #3167
I'm opting to use a simpler fix that just adds the ServerName as an alias, since specifying the ServerName overrides the default auto-detection stuff anyways.
Activity
michaelrsweet commentedon Apr 29, 2009
CUPS.org User: mike
I'm opting to use a simpler fix that just adds the ServerName as an alias, since specifying the ServerName overrides the default auto-detection stuff anyways.
michaelrsweet commentedon Apr 29, 2009
"cups-servername-is-alias.patch":
diff -up cups-1.3.10/scheduler/conf.c~ cups-1.3.10/scheduler/conf.c
--- cups-1.3.10/scheduler/conf.c~ 2009-04-24 15:14:04.000000000 +0100
+++ cups-1.3.10/scheduler/conf.c 2009-04-24 16:35:32.000000000 +0100
@@ -689,38 +689,44 @@ cupsdReadConfiguration(void)
}
}
}
for (slash = ServerName; isdigit(*slash & 255) || *slash == '.'; slash ++);
michaelrsweet commentedon Apr 29, 2009
"str3167.patch":
Index: scheduler/conf.c
--- scheduler/conf.c (revision 8571)
+++ scheduler/conf.c (working copy)
@@ -716,8 +716,15 @@
*/
{
if (gethostname(temp, sizeof(temp)))
{
cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to get hostname: %s",