Description of problem: Version-Release number of selected component (if applicable): katello-0.1.123-1.git.15.658cadf.el6.x86_64 How reproducible: Steps to Reproduce: 1. Create a repo with the following URL: "http://download.devel.redhat.com/released/F-16/GOLD/Fedora/x86_64/os/ " (include the trailing space but do not include quotes). 2. Sync the repo 3. Actual results: Creation of repo succeeds, but syncing of repo fails Expected results: Consistency - if the url is not automatically trimmed of whitespace, it should fail on create, not at sync time. I suggest a validation error at creation time: "Repo URL cannot contain leading or trailing whitespace" Additional info:
This is fixed upstream and now throws a validation error.