Bug #7647
Ensure that swift keys don't include backslashes
% Done:
0%
Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, when we generate a Swift key it can include a backslash as part of the JSON encoding output, so when people cut and paste the key it includes the backslash which breaks applications.
Change RGW to not generate characters which require escaping as part of the output.
Related issues
Associated revisions
rgw: avoid using slashes for generated secret keys
Just use plain alphanumeric characterset.
Fixes: #7647
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: avoid using slashes for generated secret keys
Just use plain alphanumeric characterset.
Fixes: #7647
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 3f04a6126fdbfb93304f798da3775c0eec9b7d44)
History
#1 Updated by Neil Levine over 9 years ago
- Assignee set to Yehuda Sadeh
#2 Updated by Yehuda Sadeh about 8 years ago
- Tracker changed from Feature to Bug
- Priority changed from Normal to High
- Regression set to No
#3 Updated by Yehuda Sadeh about 8 years ago
- Status changed from 12 to Fix Under Review
#4 Updated by Yehuda Sadeh about 8 years ago
- Status changed from Fix Under Review to Resolved
- Backport set to hammer
Fixed, commit:3f04a6126fdbfb93304f798da3775c0eec9b7d44
#5 Updated by Yehuda Sadeh about 8 years ago
- Status changed from Resolved to Pending Backport
#6 Updated by Loïc Dachary about 8 years ago
#7 Updated by Loïc Dachary about 8 years ago
- Status changed from Pending Backport to Resolved