Skip to content

Sanitise name inputs in the yaml files

Emir Muhammad requested to merge emmuhamm-add-regex-sanitiser into main

Following lhcb-dpa/analysis-productions/LbAPWeb!71 (merged), we decided to sanitise the names as this is read by the LbAPWeb to render it. In particular, we dont want names containing / in it as it might be used to put nasty links that might be run accidentally by the backend.

This merge request sanitises the name field to prevent people from putting in characters not supported by LbAPWeb, and protects against harmful links

Merge request reports

Loading