- Fixed bug which occurred when referrer URL is null.
Warning
Hotlinking from other websites is prevented by default for all new links. Hotlinking can be enabled either on the "Settings" page, or when configuring an individual token.
- Introduced hotlink prevention (and enabled it by default).
- Made it possible to allow hotlinks from other websites.
- Hotlinking is now prevented by default.
- Added volume subpath for local files.
- Craft 5 compatibility.
- Fixed bug which occurred when user login is required. (thanks @corneliusio)
- Craft 4 compatibility.
- New plugin icon.
- Parse environment variables in Volume paths. (thanks @Peter-The-Great)
- Craft 3.5 is now required.
- Adjusted raw HTML output on settings page.
- Redirect anonymous downloads to login page when a user is required, instead of just showing an error message.
- Fixed a bug where
flush
may trigger an error.
- Improved timing of download tracking mechanism.
- Added error message for a missing file, assuming token & asset are otherwise correct.
- Normalize local filepaths.
- Fixed bug which prevented downloading cloud assets that contained spaces in the filename.
- Removed unnecessary parameter in link methods.
- Can now download files from volumes without public URLs.
- Allows optional HTTP headers to be included at download.
- Added
getLinkData
variable to see what a token represents.
- Significantly improved performance for large file downloads.
- Improved messages for invalid links.
- Fixed bug which allowed expiration timestamps to be slightly inaccurate.
- Fixed uninstall bug.
- Craft 3 compatibility.
- Added short path download URLs.
- Fixed PHP 7 race condition.
- Fixed null array bug.
Initial release.