Skip to content

Commit

Permalink
Spelling (#2424)
Browse files Browse the repository at this point in the history
* spelling: account

Signed-off-by: Josh Soref <[email protected]>

* spelling: actually

Signed-off-by: Josh Soref <[email protected]>

* spelling: annotation

Signed-off-by: Josh Soref <[email protected]>

* spelling: audience

Signed-off-by: Josh Soref <[email protected]>

* spelling: authentication

Signed-off-by: Josh Soref <[email protected]>

* spelling: azurite

Signed-off-by: Josh Soref <[email protected]>

* spelling: because

Signed-off-by: Josh Soref <[email protected]>

* spelling: behavior

Signed-off-by: Josh Soref <[email protected]>

* spelling: binary

Signed-off-by: Josh Soref <[email protected]>

* spelling: breakperiod

Signed-off-by: Josh Soref <[email protected]>

* spelling: calculate

Signed-off-by: Josh Soref <[email protected]>

* spelling: calling

Signed-off-by: Josh Soref <[email protected]>

* spelling: case-insensitive

Signed-off-by: Josh Soref <[email protected]>

* spelling: case-sensitive

Signed-off-by: Josh Soref <[email protected]>

* spelling: committed

Signed-off-by: Josh Soref <[email protected]>

* spelling: conflict

Signed-off-by: Josh Soref <[email protected]>

* spelling: conflicting

Signed-off-by: Josh Soref <[email protected]>

* spelling: container

Signed-off-by: Josh Soref <[email protected]>

* spelling: corresponding

Signed-off-by: Josh Soref <[email protected]>

* spelling: count

Signed-off-by: Josh Soref <[email protected]>

* spelling: currently

Signed-off-by: Josh Soref <[email protected]>

* spelling: daemon

Signed-off-by: Josh Soref <[email protected]>

* spelling: datetime

Signed-off-by: Josh Soref <[email protected]>

* spelling: definition

Signed-off-by: Josh Soref <[email protected]>

* spelling: delete

Signed-off-by: Josh Soref <[email protected]>

* spelling: deliberately

Signed-off-by: Josh Soref <[email protected]>

* spelling: deserializer

Signed-off-by: Josh Soref <[email protected]>

* spelling: disable

Signed-off-by: Josh Soref <[email protected]>

* spelling: doesn't

Signed-off-by: Josh Soref <[email protected]>

* spelling: earlier

Signed-off-by: Josh Soref <[email protected]>

* spelling: entities

Signed-off-by: Josh Soref <[email protected]>

* spelling: expiry

Signed-off-by: Josh Soref <[email protected]>

* spelling: expression

Signed-off-by: Josh Soref <[email protected]>

* spelling: fine-grained

Signed-off-by: Josh Soref <[email protected]>

* spelling: functions

Signed-off-by: Josh Soref <[email protected]>

* spelling: granularity

Signed-off-by: Josh Soref <[email protected]>

* spelling: identifier

Signed-off-by: Josh Soref <[email protected]>

* spelling: ignore

Signed-off-by: Josh Soref <[email protected]>

* spelling: immediately

Signed-off-by: Josh Soref <[email protected]>

* spelling: initialization

Signed-off-by: Josh Soref <[email protected]>

* spelling: internal

Signed-off-by: Josh Soref <[email protected]>

* spelling: invalid

Signed-off-by: Josh Soref <[email protected]>

* spelling: its

Signed-off-by: Josh Soref <[email protected]>

* spelling: javascript

Signed-off-by: Josh Soref <[email protected]>

* spelling: local

Signed-off-by: Josh Soref <[email protected]>

* spelling: maxresults

Signed-off-by: Josh Soref <[email protected]>

* spelling: merged

Signed-off-by: Josh Soref <[email protected]>

* spelling: message

Signed-off-by: Josh Soref <[email protected]>

* spelling: metadata

Signed-off-by: Josh Soref <[email protected]>

* spelling: multiple

Signed-off-by: Josh Soref <[email protected]>

* spelling: nonexistent

Signed-off-by: Josh Soref <[email protected]>

* spelling: nonexistentcontainer

Signed-off-by: Josh Soref <[email protected]>

* spelling: odataid

Signed-off-by: Josh Soref <[email protected]>

* spelling: opened

Signed-off-by: Josh Soref <[email protected]>

* spelling: origin

Signed-off-by: Josh Soref <[email protected]>

* spelling: overlap

Signed-off-by: Josh Soref <[email protected]>

* spelling: overridden

Signed-off-by: Josh Soref <[email protected]>

* spelling: parameters

Signed-off-by: Josh Soref <[email protected]>

* spelling: partition

Signed-off-by: Josh Soref <[email protected]>

* spelling: payload

Signed-off-by: Josh Soref <[email protected]>

* spelling: permission

Signed-off-by: Josh Soref <[email protected]>

* spelling: pipeline

Signed-off-by: Josh Soref <[email protected]>

* spelling: precondition

Signed-off-by: Josh Soref <[email protected]>

* spelling: prettier

Signed-off-by: Josh Soref <[email protected]>

* spelling: request

Signed-off-by: Josh Soref <[email protected]>

* spelling: response

Signed-off-by: Josh Soref <[email protected]>

* spelling: result

Signed-off-by: Josh Soref <[email protected]>

* spelling: retrieve

Signed-off-by: Josh Soref <[email protected]>

* spelling: return

Signed-off-by: Josh Soref <[email protected]>

* spelling: separately

Signed-off-by: Josh Soref <[email protected]>

* spelling: service

Signed-off-by: Josh Soref <[email protected]>

* spelling: size

Signed-off-by: Josh Soref <[email protected]>

* spelling: snapshot

Signed-off-by: Josh Soref <[email protected]>

* spelling: specified

Signed-off-by: Josh Soref <[email protected]>

* spelling: support

Signed-off-by: Josh Soref <[email protected]>

* spelling: table

Signed-off-by: Josh Soref <[email protected]>

* spelling: the

Signed-off-by: Josh Soref <[email protected]>

* spelling: typescript

Signed-off-by: Josh Soref <[email protected]>

* spelling: uncommitted

Signed-off-by: Josh Soref <[email protected]>

* spelling: unmatchedetag

Signed-off-by: Josh Soref <[email protected]>

* spelling: uri

Signed-off-by: Josh Soref <[email protected]>

* spelling: variable

Signed-off-by: Josh Soref <[email protected]>

* spelling: version

Signed-off-by: Josh Soref <[email protected]>

* spelling: was

Signed-off-by: Josh Soref <[email protected]>

* spelling: with

Signed-off-by: Josh Soref <[email protected]>

---------

Signed-off-by: Josh Soref <[email protected]>
Co-authored-by: Wei Wei <[email protected]>
  • Loading branch information
jsoref and blueww authored Jul 17, 2024
1 parent ce49704 commit 2945f6b
Show file tree
Hide file tree
Showing 87 changed files with 277 additions and 288 deletions.
4 changes: 2 additions & 2 deletions BreakingChanges.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

## 2021.9 Version 3.14.2

- [Breaking] Remove the support of DNS name with mutiple blocks but without accout name, like "http://foo.bar.com:10000/devstoreaccount1/container".
- When use DNS name with mutiple blocks, storage account name must be in the first block, like "http://devstoreaccount1.blob.localhost:10000/container"
- [Breaking] Remove the support of DNS name with multiple blocks but without account name, like "http://foo.bar.com:10000/devstoreaccount1/container".
- When use DNS name with multiple blocks, storage account name must be in the first block, like "http://devstoreaccount1.blob.localhost:10000/container"

## 2019.12 Version 3.4.0

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Select and start Visual Studio Code debug configuration "Run Extension".

For every newly implemented REST API and handler, there should be at least coverage from 1 unit / integration test case.

We also provide a predefined Visual Studio Code debug configuration "Current Mocha", allowing you to execute mocha tests within the currently opended file.
We also provide a predefined Visual Studio Code debug configuration "Current Mocha", allowing you to execute mocha tests within the currently opened file.

Or manually execute all test cases:

Expand Down
32 changes: 16 additions & 16 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Table:

General:

- Updated examples of setting Customized Storage Accounts & Keys in enviroment varialbe.
- Updated examples of setting Customized Storage Accounts & Keys in enviroment variable.
- Bump up service API version to 2023-08-03

Blob:
Expand Down Expand Up @@ -143,7 +143,7 @@ General:

Blob:

- Fixed issue of: blob batch subresponse is slightly different from the on from Azure serivce, which causes exception in CPP SDK.
- Fixed issue of: blob batch subresponse is slightly different from the on from Azure service, which causes exception in CPP SDK.
- Fixed issue of: setMetadata API allows invalid metadata name with hyphen.
- Supported rest API GetBlobTag, SetBlobTag.
- Supported set Blob Tags in upload blob, copy blob.
Expand All @@ -162,7 +162,7 @@ General:

- Return 404 StatusCode when Storage account not exist
- Migrated tslint to eslint.
- Typescript upgraded from 4.2.4 to 4.9.5.
- TypeScript upgraded from 4.2.4 to 4.9.5.
- Migrated test pipeline from Node.js 10/12 to Node.js 14/16/18.
- Bump up service API version to 2022-11-02

Expand Down Expand Up @@ -248,7 +248,7 @@ General:

Table:

- Correctly responds with status 202 on merge with non-existent entity.
- Correctly responds with status 202 on merge with nonexistent entity.
- Properly differentiate between upsert and update in batch merge and replace.
- Added additional tests via raw REST tests.
- Correctly deletes a table that is a substring of another table.
Expand All @@ -260,7 +260,7 @@ Table:
General:

- Bump up service API version to 2021-08-06
- Modified the error messge for invalid API version to make it more actionable.
- Modified the error message for invalid API version to make it more actionable.

Blob:

Expand Down Expand Up @@ -291,7 +291,7 @@ General:
Table:

- Fixed empty partition key and row key handling in batch write operations.
- Fixed batch reponse for Go SDK, includes additional CRLF on closure of changesetresponse section.
- Fixed batch response for Go SDK, includes additional CRLF on closure of changesetresponse section.
- Removed query strings from Location and DataServiceId batch response headers.
- Modified the deserialization of batch request for case that a raw / not url encoded % is present in the body.
- Added additional tests and checks for table names on creation.
Expand All @@ -310,7 +310,7 @@ General:

Blob:

- Fixed issue that startCopyFromURL and copyFromURL API not respect `--disableProductStyleUrl` parameter in parse source Uri.
- Fixed issue that startCopyFromURL and copyFromURL API not respect `--disableProductStyleUrl` parameter in parse source URI.

Queue:

Expand Down Expand Up @@ -338,7 +338,7 @@ Table:
General:

- Bump up service API version to 2021-02-12
- Fixed access to secondary location with IP style Uri from JS/.net SDK failure.
- Fixed access to secondary location with IP style URI from JS/.net SDK failure.
- Fixed an issue in Visual Studio Code extension, by changing the Location with relative path, from base on Visual Studio Code installation path, to base on the current opened workspace folder.

Blob:
Expand All @@ -349,25 +349,25 @@ Blob:

General:

- Added new parameter `--disableProductStyleUrl`, to force parsing storage account from request Uri path, instead of from request Uri host.
- Added new parameter `--disableProductStyleUrl`, to force parsing storage account from request URI path, instead of from request URI host.
- Restored ability to connect to host.docker.internal.

Blob:

- Fixed list blob API "include" query parameter not work when not lower case, by make it case insensitive.
- Fixed list blob API "include" query parameter not work when not lower case, by make it case-insensitive.
- Supported list container/blob with "include" query parameter as empty string.
- Added more allowed value to list blob request "include" query parameter:'tags', 'versions', 'deletedwithversions', 'immutabilitypolicy', 'legalhold', 'permissions'.
- Added more allowed value to list container request "include" query parameter: 'deleted'.
- Raised 416 when start range is bigger than blob length.
- Fixed issue that duplicated decode rscd, rsce, rscl and rsct of SAS token in input request Uri.
- Fixed issue that duplicated decode rscd, rsce, rscl and rsct of SAS token in input request URI.

Queue:

- Fixed issue that expired message still can be get, peek, update, delete.

Table:

- Supported basic level of OAuth autentication on Table service.
- Supported basic level of OAuth authentication on Table service.
- Removed extra CRLF from batch transaction response which caused issues for Microsoft.Azure.Cosmos.Table NuGet package.

Table:
Expand Down Expand Up @@ -426,7 +426,7 @@ Table:

Blob:

- Fixed list containers, get service properties or account properties API failure, when request Uri has a suffix '/' after account name.
- Fixed list containers, get service properties or account properties API failure, when request URI has a suffix '/' after account name.
- Fixed get system container failure.

## 2021.6 Version 3.13.0
Expand Down Expand Up @@ -458,7 +458,7 @@ Table:
- Preview of Table Service in npm package and docker image. (Visual Studio Code extension doesn't support Table Service in this release)
- Allow empty RowKey in an entity.
- Fix etag format to be aligned with Azure server.
- Fix delet none exist table error code and error message, to be aligned with Azure server.
- Fix delete nonexistent table error code and error message, to be aligned with Azure server.
- Convert entity properties with type "Edm.DateTime" to UTC time, to be aligned with Azure server.
- Support Batch API.
- Allow complex RowKey and PartitionKey in batch API.
Expand Down Expand Up @@ -502,7 +502,7 @@ Blob:
- Add support for async copy blobs on sql metadata store.
- Add support for blob syncCopyFromURL within same Azurite instance on loki metadata store.
- Allow mixed case characters for blob metadata prefix.
- Fix SqlBlobMetadataStore.getBlockList, to make it fail for non-existent blobs.
- Fix SqlBlobMetadataStore.getBlockList, to make it fail for nonexistent blobs.

## 2020.07 Version 3.8.0

Expand All @@ -515,7 +515,7 @@ Blob:
## 2020.04 Version 3.7.0

- Supported HTTPS endpoint. Specific parameter `azurite --cert server.cert --key server.key` to enable HTTPS mode.
- Supported basic level of OAuth autentication. Specific parameter `azurite --oauth basic` to enable OAuth autentication.
- Supported basic level of OAuth authentication. Specific parameter `azurite --oauth basic` to enable OAuth authentication.

Blob:

Expand Down
6 changes: 3 additions & 3 deletions README.mcr.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Just run blob service:
docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0
```

Run the image as a service (`-d` = deamon) named `azurite` and restart unless specifically stopped (this is useful when re-starting your development machine for example)
Run the image as a service (`-d` = daemon) named `azurite` and restart unless specifically stopped (this is useful when re-starting your development machine for example)

```bash
docker run --name azurite -d --restart unless-stopped -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite
Expand Down Expand Up @@ -72,9 +72,9 @@ Above command will try to start Azurite image with configurations:

`--skipApiVersionCheck` skip the request API version check.

`--disableProductStyleUrl` force parsing storage account name from request Uri path, instead of from request Uri host.
`--disableProductStyleUrl` force parsing storage account name from request URI path, instead of from request URI host.

> If you use customized azurite paramters for docker image, `--blobHost 0.0.0.0`, `--queueHost 0.0.0.0` are required parameters.
> If you use customized azurite parameters for docker image, `--blobHost 0.0.0.0`, `--queueHost 0.0.0.0` are required parameters.
> In above sample, you need to use **double first forward slash** for location and debug path parameters to avoid a [known issue](https://stackoverflow.com/questions/48427366/docker-build-command-add-c-program-files-git-to-the-path-passed-as-build-argu) for Git on Windows.
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Following extension configurations are supported:
- `azurite.pwd` PFX cert password. Required when `azurite.cert` points to a PFX file.
- `azurite.oauth` OAuth oauthentication level. Candidate level values: `basic`.
- `azurite.skipApiVersionCheck` Skip the request API version check, by default false.
- `azurite.disableProductStyleUrl` Force parsing storage account name from request Uri path, instead of from request Uri host.
- `azurite.disableProductStyleUrl` Force parsing storage account name from request URI path, instead of from request URI host.
- `azurite.inMemoryPersistence` Disable persisting any data to disk. If the Azurite process is terminated, all data is lost.
- `azurite.extentMemoryLimit` When using in-memory persistence, limit the total size of extents (blob and queue content) to a specific number of megabytes. This does not limit blob, queue, or table metadata. Defaults to 50% of total memory.

Expand Down Expand Up @@ -259,7 +259,7 @@ Above command will try to start Azurite image with configurations:

`--skipApiVersionCheck` skip the request API version check.

`--disableProductStyleUrl` force parsing storage account name from request Uri path, instead of from request Uri host.
`--disableProductStyleUrl` force parsing storage account name from request URI path, instead of from request URI host.

> If you use customized azurite parameters for docker image, `--blobHost 0.0.0.0`, `--queueHost 0.0.0.0` are required parameters.
Expand Down Expand Up @@ -390,13 +390,13 @@ Optional. By default Azurite will listen on HTTP protocol. Provide a PEM or PFX
--cert path/server.pem
```

When `--cert` is provided for a PEM file, must provide coresponding `--key`.
When `--cert` is provided for a PEM file, must provide corresponding `--key`.

```cmd
--key path/key.pem
```

When `--cert` is provided for a PFX file, must provide coresponding `--pwd`
When `--cert` is provided for a PFX file, must provide corresponding `--pwd`

```cmd
--pwd pfxpassword
Expand Down Expand Up @@ -428,7 +428,7 @@ Optional. By default Azurite will check the request API version is valid API ver

### Disable Product Style Url

Optional. When using FQDN instead of IP in request Uri host, by default Azurite will parse storage account name from request Uri host. Force parsing storage account name from request Uri path by:
Optional. When using FQDN instead of IP in request URI host, by default Azurite will parse storage account name from request URI host. Force parsing storage account name from request URI path by:

```cmd
--disableProductStyleUrl
Expand Down Expand Up @@ -807,10 +807,10 @@ Following files or folders may be created when initializing Azurite in selected

- `azurite_db_blob.json` Metadata file used by Azurite blob service. (No when starting Azurite against external database)
- `azurite_db_blob_extent.json` Extent metadata file used by Azurite blob service. (No when starting Azurite against external database)
- `blobstorage` Persisted bindary data by Azurite blob service.
- `blobstorage` Persisted binary data by Azurite blob service.
- `azurite_db_queue.json` Metadata file used by Azurite queue service. (No when starting Azurite against external database)
- `azurite_db_queue_extent.json` Extent metadata file used by Azurite queue service. (No when starting Azurite against external database)
- `queuestorage` Persisted bindary data by Azurite queue service.
- `queuestorage` Persisted binary data by Azurite queue service.
- `azurite_db_table.json` Metadata file used by Azurite table service.

> Note. Delete above files and folders and restart Azurite to clean up Azurite. It will remove all data stored in Azurite!!
Expand All @@ -827,7 +827,7 @@ Optionally, you could modify your hosts file, to access accounts with production

### Endpoint & Connection URL

The service endpoints for Azurite are different from those of an Azure storage account. The difference is because Azuite runs on local computer, and normally, no DNS resolves address to local.
The service endpoints for Azurite are different from those of an Azure storage account. The difference is because Azurite runs on local computer, and normally, no DNS resolves address to local.

When you address a resource in an Azure storage account, use the following scheme. The account name is part of the URI host name, and the resource being addressed is part of the URI path:

Expand All @@ -843,7 +843,7 @@ https://myaccount.blob.core.windows.net/mycontainer/myblob.txt

#### IP-style URL

However, because Azuite runs on local computer, it use IP-style URI by default, and the account name is part of the URI path instead of the host name. Use the following URI format for a resource in Azurite:
However, because Azurite runs on local computer, it use IP-style URI by default, and the account name is part of the URI path instead of the host name. Use the following URI format for a resource in Azurite:

```
http://<local-machine-address>:<port>/<account-name>/<resource-path>
Expand Down Expand Up @@ -893,7 +893,7 @@ DefaultEndpointsProtocol=http;AccountName=account1;AccountKey=key1;BlobEndpoint=
> Note. When use Production-style URL to access Azurite, by default the account name should be the host name in FQDN, like "<http://devstoreaccount1.blob.localhost:10000/container>". To use Production-style URL with account name in URL path, like "<http://foo.bar.com:10000/devstoreaccount1/container>", please start Azurite with `--disableProductStyleUrl`.
> Note. If use "host.docker.internal" as request Uri host, like "<http://host.docker.internal:10000/devstoreaccount1/container>", Azurite will always get account name from request Uri path, not matter Azurite start with `--disableProductStyleUrl` or not.
> Note. If use "host.docker.internal" as request URI host, like "<http://host.docker.internal:10000/devstoreaccount1/container>", Azurite will always get account name from request URI path, not matter Azurite start with `--disableProductStyleUrl` or not.
### Scalability & Performance

Expand Down Expand Up @@ -952,7 +952,7 @@ Azurite V3 leverages a TypeScript server code generator based on Azure Storage R

### TypeScript

Azurite V3 selected TypeScript as its' programming language, as this facilitates broad collaboration, whilst also ensuring quality.
Azurite V3 selected TypeScript as its programming language, as this facilitates broad collaboration, whilst also ensuring quality.

### Features Scope

Expand Down
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ jobs:
vmImage: "ubuntu-latest"
strategy:
matrix:
# Table tests no longer suport older node versions
# Table tests no longer support older node versions
node_14_x:
node_version: 14.x
node_16_x:
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
vmImage: "windows-latest"
strategy:
matrix:
# Table tests no longer suport older node versions
# Table tests no longer support older node versions
node_14_x:
node_version: 14.x
node_16_x:
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
vmImage: "macOS-latest"
strategy:
matrix:
# Table tests no longer suport older node versions
# Table tests no longer support older node versions
node_16_x:
node_version: 16.x
node_18_x:
Expand Down Expand Up @@ -385,8 +385,8 @@ jobs:
vmImage: "ubuntu-latest"
strategy:
matrix:
# Table tests no longer suport older node versions
# skip node 14 Azurite install test, since it has issue iwth new npm, which is not azurite issue.
# Table tests no longer support older node versions
# skip node 14 Azurite install test, since it has issue with new npm, which is not azurite issue.
# Track with https://github.com/Azure/Azurite/issues/1550. Will add node 14 back later when the issue resolved.
#node_14_x:
# node_version: 14.x
Expand Down Expand Up @@ -435,7 +435,7 @@ jobs:
vmImage: "windows-latest"
strategy:
matrix:
# Table tests no longer suport older node versions
# Table tests no longer support older node versions
node_14_x:
node_version: 14.x
node_16_x:
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:
vmImage: "macOS-latest"
strategy:
matrix:
# Table tests no longer suport node_8_x
# Table tests no longer support node_8_x
node_14_x:
node_version: 14.x
node_16_x:
Expand Down
6 changes: 3 additions & 3 deletions src/blob/BlobEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (!(args as any).config.name) {
.option(["", "pwd"], "Optional. Password for .pfx file")
.option(
["", "disableProductStyleUrl"],
"Optional. Disable getting account name from the host of request Uri, always get account name from the first path segment of request Uri."
"Optional. Disable getting account name from the host of request URI, always get account name from the first path segment of request URI."
);

(args as any).config.name = "azurite-blob";
Expand Down Expand Up @@ -101,7 +101,7 @@ export default class BlobEnvironment implements IBlobEnvironment {
if (this.flags.skipApiVersionCheck !== undefined) {
return true;
}
// default is false which will check API veresion
// default is false which will check API version
return false;
}

Expand All @@ -125,7 +125,7 @@ export default class BlobEnvironment implements IBlobEnvironment {
if (this.flags.disableProductStyleUrl !== undefined) {
return true;
}
// default is false which will try to get account name from request Uri hostname
// default is false which will try to get account name from request URI hostname
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/blob/BlobRequestListenerFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class BlobRequestListenerFactory
app.use(morgan("common", { stream: this.accessLogWriteStream }));
}

// Manually created middleware to deserialize feature related context which swagger doesn"t know
// Manually created middleware to deserialize feature related context which swagger doesn't know
app.use(createStorageBlobContextMiddleware(this.skipApiVersionCheck, this.disableProductStyleUrl, this.loose));

// Dispatch incoming HTTP request to specific operation
Expand Down
2 changes: 1 addition & 1 deletion src/blob/authentication/BlobSharedKeyAuthenticator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default class BlobSharedKeyAuthenticator implements IAuthenticator {

if (context.context.isSecondary && blobContext.authenticationPath?.indexOf(account) === 1)
{
// JS/.net Track2 SDK will generate stringToSign from IP style Uri with "-secondary" in authenticationPath, so will also compare signature with this kind stringToSign
// JS/.net Track2 SDK will generate stringToSign from IP style URI with "-secondary" in authenticationPath, so will also compare signature with this kind stringToSign
const stringToSign_secondary: string =
[
req.getMethod().toUpperCase(),
Expand Down
2 changes: 1 addition & 1 deletion src/blob/authentication/BlobTokenAuthenticator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default class BlobTokenAuthenticator implements IAuthenticator {
if (m !== null) {
if (m[0] === aud) {
if (m[1] !== undefined && m[1] !== blobContext.account) {
// If account name doesn't match for fine grained audiance
// If account name doesn't match for fine-grained audience
break;
}
audMatch = true;
Expand Down
Loading

0 comments on commit 2945f6b

Please sign in to comment.