limit allowed characters for rpm distribution name
Ticket moved to GitHub: "pulp/pulp_rpm/2261":https://github.com/pulp/pulp_rpm/issues/2261
The name of an rpm distribution will be used to construct the
config.repo file at the root of the distribution. More specifically, it will be used as the section header (
[name]) for the repo information therein.
Currently, pulp rpm allows to contain that name characters like '/', which yum/dnf will consider invalid. pulp rpm should check and disallow using names containing such chars.
According to yum.conf(5) and the (source)[https://github.com/rpm-software-management/libdnf/blob/dnf-4-master/libdnf/utils/utils.hpp#L4], allowed chars are ascii lower and upper case alphabetic letters, digits, and these chars: