Problem/Motivation

In Drupal 10.3, the default behavior of core’s guess() changed: instead of the "application/octet-stream" fallback, it returns NULL. That was changed in the core issue 3156672.

Proposed resolution

If we see an empty value returned from guess(), fall back to "application/octet-stream".

User interface changes

None

API changes

None

Comments

gogowitsch created an issue. See original summary.

gogowitsch’s picture

gogowitsch’s picture

Status: Active » Fixed

Fixed in commit 195c592d6c2d7e9c0edfb25a5d5ee159534a7600.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.