Skip to content

A link name made only of spaces is accepted #3722

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

A link name made only of spaces is accepted. Cause: packages/web-app-files/src/components/SideBar/Shares/Links/EditDropdown.vue:178 checks the length without trimming.

Reproduction Steps

  1. Rename a link to " " and save.

Expected Outcome

"Link name cannot be empty".

Actual Outcome

Saved; the link shows an invisible name.

Screenshot

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions