HT_MSG_FILE_REPLACE callback

When this callback is called, the filename that is about to be replaced
is not passed to callback -- wouldn't it be more sensible, if one could
check the filename in the callback function to be able to decide whether
it can be overwritten or not?

Ie. change HTLoadToFile (HTAccess.c) from

		if ((*prompt)(request, HT_A_CONFIRM,
HT_MSG_FILE_REPLACE, NULL,
			      NULL, NULL) != YES)
		    return NO;

to

		if ((*prompt)(request, HT_A_CONFIRM,
HT_MSG_FILE_REPLACE, NULL,
			      filename, NULL) != YES)
		    return NO;

?

/oliver

Received on Thursday, 16 August 2001 07:42:57 UTC