Skip to content

Fix folder naming not using capabilities renamer#3566

Merged
marinofaggiana merged 3 commits into
masterfrom
fix-folder-naming
Jul 5, 2025
Merged

Fix folder naming not using capabilities renamer#3566
marinofaggiana merged 3 commits into
masterfrom
fix-folder-naming

Conversation

@mpivchev

@mpivchev mpivchev commented Jul 1, 2025

Copy link
Copy Markdown
Collaborator

Naming a folder A* where the "*" is not part of the forbidden characters coming from capabilities, would cause the folder to be named A instead.

Fixed by making the folder creating take into account forbidden characters from capabilities instead of generic forbidden characters.

Test creating a folder named A* without WCF ("*" allowed) (Christine account can be used) and check if folder is created successfully and files can be added.

Test a server with WCF enabled ("*" is not allowed) (internal instance can work) and check if you get an error during naming. "Save" button should be disabled.

Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
@mpivchev
mpivchev requested review from i2h3 and marinofaggiana July 1, 2025 11:06
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
@i2h3

i2h3 commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

Please add instructions how to test, though.

@mpivchev

mpivchev commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator Author

Please add instructions how to test, though.

Added

Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
@marinofaggiana
marinofaggiana merged commit 7c05817 into master Jul 5, 2025
5 checks passed
@marinofaggiana
marinofaggiana deleted the fix-folder-naming branch July 5, 2025 16:04
@mpivchev

mpivchev commented Jul 7, 2025

Copy link
Copy Markdown
Collaborator Author

@marinofaggiana did you test before merging?

@marinofaggiana

Copy link
Copy Markdown
Member

@mpivchev haven't you tried it? (it seems like a simple function, doesn't it?)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants