letsfindaway / OpenBoard

I'm using this fork to contribute features and fixes to the upstream project. In order to create good pull requests, I'm rebasing my feature branches, squashing and reordering commits, etc. If you fork this repository be aware that my development branches may rewrite history without prior notice.
http://openboard.ch/
GNU General Public License v3.0
9 stars 0 forks source link

Sanitize Web widget name #134

Closed letsfindaway closed 1 year ago

letsfindaway commented 1 year ago

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.

letsfindaway commented 1 year ago

There already is a sanitazion based on the illegal characters for some file systems. However additionally it has to be observed:

Measures: