diff --git a/src/elogd.c b/src/elogd.c index c25b71cd..18c8cb52 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6000,7 +6000,7 @@ void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str) else sprintf(hattrib, "%s", attrib + 5); - } else if (strstr(attrib, "://") == 0) /* add http:// if missing */ + } else if (strstr(attrib, "://") == 0 && attrib[0] != '#') /* add http:// if missing */ sprintf(hattrib, "http://%s", attrib); else strlcpy(hattrib, attrib, sizeof(hattrib));