x-auth-* encoding issues against swauth

Bug #705544 reported by Ron Pedde
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Undecided
gholt

Bug Description

Currently the c# language binding (https://github.com/rackspace/csharp-cloudfiles) urlencodes x-auth-* values before submitting, but devauth/swauth does not unencode them. This causes x-auth-users like "account:user" to be encoded as "account%3auser", resulting in auth failure.

Given x-auth-key/x-auth-user values with strange characters ("\", ";", etc) or multibyte values, the x-auth fields should be encoded in some manner.

Revision history for this message
gholt (gholt) wrote :

This was originally filed against devauth, which has now been deprecated and removed, but I'm pretty sure it affects swauth as well.

summary: - x-auth-* encoding issues against devauth
+ x-auth-* encoding issues against swauth
description: updated
Revision history for this message
gholt (gholt) wrote :

With the Keystone project soon to become the standard OpenStack auth, Swauth is going to separate into its own project at https://github.com/gholt/swauth I've copied this bug over there at https://github.com/gholt/swauth/issues/1

Revision history for this message
gholt (gholt) wrote :
Changed in swift:
status: New → Fix Committed
assignee: nobody → gholt (gholt)
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.4.1
Thierry Carrez (ttx)
Changed in swift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers