diff options
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,8 +146,8 @@ int a_Misc_get_content_type_from_data(void *Data, size_t Size, const char **PT) (Size - i >= 5 && !dStrnAsciiCasecmp(p+i, "<head", 5)) || (Size - i >= 6 && !dStrnAsciiCasecmp(p+i, "<title", 6)) || (Size - i >= 14 && !dStrnAsciiCasecmp(p+i, "<!doctype html", 14)) || - /* this line is workaround for FTP through the Squid proxy */ - (Size - i >= 17 && !dStrnAsciiCasecmp(p+i, "<!-- HTML listing", 17))) { + /* this line is workaround for FTP through the Squid proxy and Doxygen */ + (Size - i >= 9 && !dStrnAsciiCasecmp(p+i, "<!-- HTML", 9))) { Type = DT_TEXT_HTML; st = 0; |