Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

New check: Linkit shouldn't be configured to output 'Direct file link' #19

Open
@rooby

Description

Due to the dynamic nature of the files directory it is not a good idea to link direct to files with /sites/default/files/etc paths.

If you configure Linkit for file entities so that URL type is 'URL type' or 'Download file link' then you are going to end up with those direct file paths in your content, which may later break.

It would be good to raise a notice about this setting if it is configured in a potentially risky way.

govcms-linkit_file_settings

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions