xodio / xod

XOD IDE
https://xod.io
GNU Affero General Public License v3.0
888 stars 119 forks source link

XOD IDE loads libraries with invalid patch paths #2097

Closed brusherru closed 3 years ago

brusherru commented 3 years ago

Steps to reproduce

  1. Open any project (with at least one patch)
  2. Save the project in the YOUR_WORKSPACE/__lib__/somebody directory as a multifile project and name it with uppercase symbols. E.G. YOUR_WORKSPACE/__lib__/somebody/UpercaseSymbolsIsForbidden
  3. Open any other project
  4. Save it as a xodball
  5. Try to open this xodball

Expected behavior

Actual behavior

How to fix

  1. Do not load libraries with an invalid username, project name, or patch names.
  2. Show an error message on IDE start if such libraries have been found.