IchHabRecht / mask_export

Export your mask elements as extension
GNU General Public License v2.0
45 stars 27 forks source link

Trim provided extension key #194

Open georgringer opened 2 years ago

georgringer commented 2 years ago

A colleague entered as extension key content_elements with a whitespace at the end which was unnoticed but lead to have a directory name with the whitespace in it.

As there was already an extension content_elements without the whitespace that lead to have 2 extension directories which looked pretty same.

I know that it is a mistake of the user but providing a trim or maybe even not allowing whitespace to enter would reduce the risk of bugs