"The image module uses file_transfer and if for any reason the file is gone, then you'll get an infinte number of error messages which -- because they are in a Only local images are allowed. -- are invisible..."

Chx_ told me about this bug, so volia! patch attached.

This patch checks to ensure that the file can be accessed and generenates a drupal_not_found if it hits a snag.

Robin

CommentFileSizeAuthor
404 on file not found.patch699 bytesrobin monks

Comments

robin monks’s picture

Side note: I tested this, and it seems to work OK. Although I probably wasn't vigorous about it.

Robin

dries’s picture

Committed to HEAD and DRUPAL-4-6. Thanks.

Anonymous’s picture