Red Hat Bugzilla – Bug 1023518
Calling subscription-manager orgs with a user who has . in their name fails
Last modified: 2014-07-02 10:06:04 EDT
Description of problem:
Calling subscription-manager orgs with a user who has @ in their name fails. Here's an example of the command:
subscription-manager orgs --username "firstname.lastname@example.org" --password "asd\!"
The response is "Resource not found on server"
Here's an example curl request which returns a 404:
curl http://127.0.0.1:email@example.com/owners -u "firstname.lastname@example.org:admin"
For more info you can visit https://bugzilla.redhat.com/show_bug.cgi?id=956650#c12.
Steps to Reproduce:
1. Create a user with @ in their username
2. Call subscription-manager orgs on a client using that user you've created.
Resource not found.
List of orgs.
Sorry, it's actually the "." and not the "@" that is causing this bug.
1. Create user with "." in their name such as "email@example.com"
2. Run this on a client machine:
subscription-manager orgs --username "firstname.lastname@example.org" --password "admin"
1023518: Loosening url contraints on owner list path to accept names with .
Verified in Satellite-6.0.3-RHEL-6-20140423.1
This was delivered with 6.0.3, which is the Satellite 6 Beta.