Closed letsfindaway closed 1 year ago
There already is a sanitazion based on the illegal characters for some file systems. However additionally it has to be observed:
'
. This is legal in a file name but cannot be loaded by the web browser later.Measures:
&...;
by an underscore.
When creating a web widget from the browser or by dropping a URL, the proposed name for the widget is taken from the title of the page. This name is used as name, as id and as folder name for the widget. However this can contain special characters, which are not suitable as file names.
We have to sanitize these names or use UUIDs for the folder names.
You can reproduce this problem if you try to create a widget from https://github.com/letsfindaway/OpenBoard. The "About" is part of the title and causes this problem.