Skip to content

Commit

Permalink
source code copied from azure-storage-php for v1.3.1-queue release
Browse files Browse the repository at this point in the history
  • Loading branch information
vinjiang committed Jan 2, 2020
1 parent c7ef31c commit c85f9c6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2020.01 - version 1.3.1
* Fixed the issue in SAS token where special characters were not correctly encoded.

2019.04 - version 1.3.0
* Added support for OAuth authentication.
* Resolved some issues on Linux platform.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "microsoft/azure-storage-queue",
"version": "1.3.0",
"version": "1.3.1",
"description": "This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Queue APIs.",
"keywords": [ "php", "azure", "storage", "sdk", "queue" ],
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/Queue/Internal/QueueResources.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class QueueResources extends Resources
{
// @codingStandardsIgnoreStart

const QUEUE_SDK_VERSION = '1.3.0';
const QUEUE_SDK_VERSION = '1.3.1';
const STORAGE_API_LATEST_VERSION = '2017-11-09';

// Error messages
Expand Down
2 changes: 1 addition & 1 deletion src/Queue/QueueSharedAccessSignatureHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function generateQueueServiceSharedAccessSignatureToken(
$parameters[] = Resources::STORAGE_API_LATEST_VERSION;

// implode the parameters into a string
$stringToSign = utf8_encode(implode("\n", $parameters));
$stringToSign = implode("\n", $parameters);
// decode the account key from base64
$decodedAccountKey = base64_decode($this->accountKey);
// create the signature with hmac sha256
Expand Down

0 comments on commit c85f9c6

Please sign in to comment.