1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Increase allowed UIDL length to 70 chars per rfc1939

This commit is contained in:
Andrey A. Chernov 1998-06-28 21:44:59 +00:00
parent 61b9aa4259
commit 27ccfb65b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11590

View File

@ -25,7 +25,7 @@
cp = &buffer[7];
while (*cp && (*cp == ' ' || *cp == '\t')) cp++;
! l = strlen(cp);
! if(l < DIG_SIZE || l > DIG_SIZE * 3) /* To account for the empty UIDL string */
! if(l < DIG_SIZE || l > 70/*rfc1939*/) /* To account for the empty UIDL string */
{
uidl_found--; /*roll over as though it hasn't seen anything*/
continue;