-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ServiceBus] fix issue of accepting session with empty string name (#…
…31736) We have a check for when asking for any session, i.e., not providing a session id), but not receiving a link having a session id. However, the check is `if (!this._providedSessionId && !receivedSessionId)` which also evaluates to `true` for session id of empty string, which is valid session id. This PR changes it to check for `undefined` so that session id of empty string doesn't lead to error being thrown.
- Loading branch information
1 parent
cd338ec
commit 0c82aca
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters