pulp/pulp-smash

Validation of distribution base_paths

Closed this issue · 0 comments

Ensure that base paths on distributions are validated. Some things to try:

  • Base paths should be unique
  • Base paths should form valid urls. We're using Django's URLValidator for this. One thing that fails is base paths with spaces.
  • Base paths shouldn't begin or end with slashes ("/").

https://pulp.plan.io/issues/3412