Skip to content

Bug in RenameController.php #422

@domialex

Description

@domialex

On line 47 of RenameController.php it seems that there is a regex check using lfm.alphanumeric_directory instead of lfmalphanumeric_filename. The logic here might need some rethinking.
Also, the regex should be '/[^\w.-]/i' or else it will never be able to be renamed using the dot added to the filename on line 36.

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