-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
Operating system
Windows
Joplin version
3.6.2
Desktop version info
When exporting a directory whose name contains the # character (for example, C#), the exported folder name is automatically changed to use an underscore (_) instead.
For example:
Original folder name: C#
Exported folder name: C_
This behavior causes problems because C# is a common and meaningful directory name (e.g., for C# language projects), and the automatic renaming breaks consistency and expected structure after export.
It appears that the # character is being sanitized or replaced during the export process, likely due to URL or filename normalization rules in web-based systems. However, this results in unexpected and undesirable changes to valid folder names.
Impact:
Breaks project structure consistency
Causes confusion for users working with C# projects
Requires manual renaming after export
Makes automated workflows unreliable
Current behaviour
The folder name is changed from C# to C_.
Expected behaviour
The original folder name (C#) should be preserved during export.
Consider preserving # in folder names during export, or encoding it safely rather than replacing it with _.
Logs
No response