Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although this won't totally fix private files, at least it will make it possible to use devel and imagefield at the same time. Until http://drupal.org/node/140412 gets in, this won't benefit core modules (like upload.module, which is also broken by devel's query display), it will make a workaround possible for imagefield.
A better solution than this: wouldn't it be better to assume that all files which are not text/html shouldn't append the devel queries?
Comment | File | Size | Author |
---|---|---|---|
shutdown_images.patch | 722 bytes | quicksketch | |
Comments
Comment #1
quicksketchComment #2
moshe weitzman CreditAttribution: moshe weitzman commentedi went with the suggestion to bail if i don't see 'html' in headers
Comment #3
(not verified) CreditAttribution: commentedComment #4
moshe weitzman CreditAttribution: moshe weitzman commentedreverted back to the strstr('images') solution. the html one did not work at all.