Project

General

Profile

Actions

Emulator Issues #9391

open

Controller Profile naming doesn't filter out characters with special meanings

Added by AdmiralCurtiss about 8 years ago. Updated over 5 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Open up the Emulated Wiimote config window, type a relative filepath into the Profile box, and hit Save. The window will save the profile, but can't find the created file so it looks like it just disappears.

Examples:
Type "a/b" and hit Save. Profile gets saved as "[userdir]\Config\Profiles\Wiimote\a\b.ini", creating the "a" directory, but the file is not displayed in the dropdown.
Type "../../Dolphin" and hit Save. Profile gets saved as "[userdir]\Config\Dolphin.ini", overwriting the main Dolphin config file.

I recommend just disallowing paths.

On this note, typing a name that has characters that are illegal in the filesystem doesn't save anything but doesn't display an error either.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #11258: Qt/MappingWindow: Controller profile names containing asterisks cause problemsDuplicate

Actions
Actions

Also available in: Atom PDF