Skip to content

Base64 decoder doesn't support new lines -- brakes winazurestorage.py, waz-storage #91

Description

@ariofrio

While creating an item with this SDK and reading it back works (I tried it), I cannot create an item with waz-storage or winazurestorage.py and read it from Java.

I made a small test case in this repo to demonstrate the problem using Ruby and Java. Here's the output I get:

Running test...
Sending message...
Waiting 1 second...
Exception in thread "main" java.lang.IllegalArgumentException: The String is not
a valid Base64-encoded string.
        at com.microsoft.windowsazure.services.core.storage.utils.Base64.decode(Base64.java:84)
        at com.microsoft.windowsazure.services.queue.client.CloudQueueMessage.getMessageContentAsString(CloudQueueMessage.java:179)
        at Receiver.main(Receiver.java:16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions