Skip to content

KShortUriFilter: Ignore paths beginning with a dot

Hostnames and IP addresses can't begin with a dot, but filepaths very commonly do. This fixes BUG: 353883, which causes an error when opening hidden relative files/directories, e.g. .config, in Dolphin.

I'm totally unfamiliar with the codebase and not sure if this is the right place to fix the issue, but relative paths that start with .. are handled here, the tests didn't complain, and I didn't notice any obvious problems :)

Merge request reports