niklasarnitz / churchtools-organigram

1 stars 1 forks source link

Escape special chars when creating graphml-files #2

Open DumbergerL opened 2 years ago

DumbergerL commented 2 years ago

Some of our groups in churchtools have special chars (e.q. ":", "*"). The app cannot store graphml-files to the disk that contains special chars in their name.

niklasarnitz commented 2 years ago

This may be an issue with your operating system.

I developed this on Linux and I had no issues with special characters like : or / but I didn't test *.

But I will look into it later today.

niklasarnitz commented 2 years ago

Sadly I couldn't reproduce it.

I named a group Foo * ^ Bar and it was written to disk without a problem as Foo * ^ Bar.graphml. I am using a Linux machine with the ext4 filesystem. Windows or macOS may not support these special characters.