)]}'
{"cinder/volume/drivers/xio.py":[{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"b2b66f622622cd1af05d2fc16f7c15522255638a","unresolved":false,"context_lines":[{"line_number":367,"context_line":"        # set up headers for XML and Auth"},{"line_number":368,"context_line":"        header \u003d {\u0027Content-Type\u0027: \u0027application/xml; charset\u003dutf-8\u0027}"},{"line_number":369,"context_line":"        auth_key \u003d\\"},{"line_number":370,"context_line":"            base64.encodestring(\u0027%s:%s\u0027 %"},{"line_number":371,"context_line":"                                (self.configuration.san_login,"},{"line_number":372,"context_line":"                                 self.configuration.san_password))[:-1]"},{"line_number":373,"context_line":"        header[\u0027Authorization\u0027] \u003d \u0027Basic %s\u0027 % auth_key"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_32e71814","line":370,"updated":"2015-12-01 15:22:29.000000000","message":"Could the problem be caused by the backend doing a string comparison of the encoded strings, and `base64.encodestring` finishes encoding string with \u0027\\n\u0027 and `base64.b64encode` does not.\n\nWhen base64 decoding the strings both yield the same result, but if you compare encoded strings directly they will not match.\n\nIt could also have to do with `encode_as_text\u0027 utf-8 encoding the string prior to","commit_id":"e24254517475e87363451ac31679ccb389676a31"}]}
