Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This module attempts to solve the ongoing issues with File management in Drupal, especially when attached to Media entities and the issues surrounding the file urls presented to the user.

Solves a similar problem as Media entity download without the need for any additional routes.

However, this module only works with files served from the Private file system

How does it work?

It is fairly common for Content editors to update documents, or other files in the lifecycle of a CMS. If these files share the same file name, Drupal will rename the file to be unique, often adding a -0, -1, etc to the end of the filename.

This is essentially unavoidable, especially due to the fact that Drupal no longer deletes files from the file system

This renaming can lead to flow on issues where the initial url to a file has been shared already - such as people bookmarking it, other sites linking to it, marketing material containing it, etc.

This module solves the issue by automatically redirecting a user to the latest file attached to a Media entity corresponding to that particular file.

Requirements

This module requires the core fix at #1452100: Private file download returns access denied, when file attached to revision other than current

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.1.1 Stable Sep 3, 2024
2.1.0 Stable Sep 3, 2024
2.0.0-rc2 Pre-release Feb 2, 2023