Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the right encoder #437

Merged
merged 4 commits into from
Sep 9, 2021
Merged

Use the right encoder #437

merged 4 commits into from
Sep 9, 2021

Conversation

vijaye-statsig
Copy link
Contributor

The dbPassword is being added as a part of the URI and hence should use encodeURI. encodeURIComponent is right if the password was being sent as a query parameter.

This fixes an issue when using Azure Cosmos DB where the password is a base64 encoded string, which contains the '=' character. This character should not be encoded as part of the URI.

polonel and others added 4 commits July 25, 2021 15:53
## [1.1.8](polonel/trudesk@v1.1.7...v1.1.8) (2021-07-25)

### Bug Fixes

* **tickets:** creation has no response [polonel#423](polonel#423) by alsemany ([dcfde5f](polonel@dcfde5f))
The dbPassword is being added as a part of the URI and hence should use encodeURI.  encodeURIComponent is right if the password was being sent as a query parameter.

This fixes an issue when using Azure Cosmos DB where the password is a base64 encoded string, which contains the '=' character.  This character should not be encoded as part of the URI.
@polonel polonel changed the base branch from master to develop September 9, 2021 22:01
@polonel polonel merged commit bb9ea9b into polonel:develop Sep 9, 2021
@vijaye-statsig vijaye-statsig deleted the patch-1 branch September 9, 2021 23:02
polonel added a commit that referenced this pull request Sep 19, 2021
## [1.1.9](v1.1.8...v1.1.9) (2021-09-19)

### Bug Fixes

* **about:** links in about page ([2425d7e](2425d7e))
* **db:** EncodeURI PR [#437](#437) by [@vijaye-statsig](https://github.com/vijaye-statsig) ([bb9ea9b](bb9ea9b))
* **install:** default setting for skipping elastic search ([88df9b0](88df9b0))
* **install:** typo in elastic search preventing connection ([3678292](3678292))
* **mailcheck:** added option for less secure certs in mailcheck ([0e6fd69](0e6fd69)), closes [PR#434](https://github.com/PR/issues/434)
@polonel
Copy link
Owner

polonel commented Sep 19, 2021

🎉 This PR is included in version 1.1.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants