cctbx / cctbx_project

Computational Crystallography Toolbox
https://cci.lbl.gov/docs/cctbx
Other
228 stars 119 forks source link

In libtbx.configure prune extraneous characters from module names #286

Open graeme-winter opened 5 years ago

graeme-winter commented 5 years ago

i.e.

libtbx.configure footbx/

can happen and will give very strange results => pruning non [a-z][A-Z][0-9]_ or throwing an exception probably a good idea

graeme-winter commented 5 years ago

... started looking at this, realised I have no idea what the rules actually are for cctbx module names - can you have a module called Robert'); DROP TABLE Students;-- or %%$$\/\/\tbx?

Would be good to sanitize the module names in configure once the rules have been identified...