Summary: | Dolphin allows creating or renaming to a filename containing "/" | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Jin Liu <ad.liu.jin> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | fanzhuyifan, kfm-devel |
Priority: | NOR | Keywords: | qt6 |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jin Liu
2024-02-26 04:23:55 UTC
Humm according to this stackoverflow answer, this should be forbidden by the filesystem, unless it is a character that looks like /. https://stackoverflow.com/questions/9847288/is-it-possible-to-use-in-a-filename Can reproduce on btrfs when creating text files (dolphin does the right thing and create subfolders when trying to create a new folder called a/b). It is actually U+2044, which you can handle in bash. And that is done explicitly here: https://invent.kde.org/frameworks/kio/-/blob/master/src/core/global.cpp#L116 So I am going to call this intentional for now. |