As described here (point 1,2,3 and 5) there are some security issues related to project name. I've thought in a fix sanitizing the project name value using the same logic as with variable version:
re.sub(r'[^a-zA-Z0-9_-]', '_', version)
It would have to apply to every method working with project name in FilesystemEggStorage to have consistency adding and then getting projects. It adds as side efect that two projects with non-common characters like project! and project? will share the same project name project_. Does someone see a better solution?
As described here (point 1,2,3 and 5) there are some security issues related to project name. I've thought in a fix sanitizing the project name value using the same logic as with variable
version:It would have to apply to every method working with project name in
FilesystemEggStorageto have consistency adding and then getting projects. It adds as side efect that two projects with non-common characters likeproject!andproject?will share the same project nameproject_. Does someone see a better solution?