azure-sdk-for-js/sdk
Jeremy Meng 0c82aca851
[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.
2024-11-20 15:22:18 -08:00
..
advisor
agrifood
ai
analysisservices
anomalydetector
apicenter
apimanagement
appcomplianceautomation
appconfiguration
appcontainers
applicationinsights
appplatform
appservice
astro
attestation
authorization
automanage
automation
avs
azureadexternalidentities
azurestack
azurestackhci
baremetalinfrastructure
batch
billing
billingbenefits
botservice
cdn
changeanalysis
changes
chaos
cognitivelanguage
cognitiveservices
commerce
communication
compute
computefleet
computeschedule
confidentialledger
confluent
connectedcache
connectedvmware
consumption
containerinstance
containerregistry
containerservice
contentsafety
core
cosmosdb
cosmosforpostgresql
cost-management
customer-insights
dashboard
databoundaries
databox
databoxedge
databricks
datacatalog
datadog
datafactory
datalake-analytics
datamigration
dataprotection
defendereasm
deploymentmanager
desktopvirtualization
devcenter
devhub
deviceprovisioningservices
deviceregistry
deviceupdate
devopsinfrastructure
devspaces
devtestlabs
digitaltwins
dns
dnsresolver
documentintelligence
documenttranslator
domainservices
dynatrace
easm
edgezones
education
elastic
elasticsans
entra
eventgrid
eventhub
extendedlocation
fabric
face
features
fluidrelay
formrecognizer
frontdoor
graphservices
guestconfiguration
hanaonazure
hardwaresecuritymodules
hdinsight
healthbot
healthcareapis
healthdataaiservices
healthinsights
hybridcompute
hybridconnectivity
hybridcontainerservice
hybridkubernetes
hybridnetwork
identity
imagebuilder
informatica
instrumentation
iot
iotcentral
iotfirmwaredefense
iothub
iotoperations
keyvault
kubernetesconfiguration
kubernetesruntime
kusto
labservices
largeinstance
liftrqumulo
links
loadtesting
locks
logic
machinelearning
machinelearningcompute
machinelearningexperimentation
maintenance
managedapplications
managednetworkfabric
managementgroups
managementpartner
maps
mariadb
marketplaceordering
mediaservices
metricsadvisor
migrate
migrationdiscovery
mixedreality
mobilenetwork
mongocluster
monitor
msi
mysql
netapp
network
networkanalytics
networkcloud
networkfunction
newrelicobservability
nginx
notificationhubs
oep
openai
operationalinsights
operationsmanagement
oracledatabase
orbital
paloaltonetworksngfw
peering
playwrighttesting
policy
policyinsights
portal
postgresql
powerbidedicated
powerbiembedded
privatedns
purview
quantum
quota
recoveryservices
recoveryservicesbackup
recoveryservicesdatareplication
recoveryservicessiterecovery
redhatopenshift
redis
redisenterprise
relay
remoterendering
reservations
resourceconnector
resourcegraph
resourcehealth
resourcemover
resources
resources-subscriptions
resourcesdeploymentstacks
schemaregistry
scvmm
search
security
securitydevops
securityinsight
selfhelp
serialconsole
service-map
servicebus
servicefabric
servicefabricmanagedclusters
servicefabricmesh
servicelinker
servicenetworking
signalr
sphere
springappdiscovery
sql
sqlvirtualmachine
standbypool
storage
storageactions
storagecache
storageimportexport
storagemover
storagesync
storsimple1200series
storsimple8000series
streamanalytics
subscription
support
synapse
tables
template
templatespecs
terraform
test-utils
textanalytics
timeseriesinsights
trafficmanager
translation
trustedsigning
vision
visualstudio
vmwarecloudsimple
voiceservices
web-pubsub
workloads
eslint.config.mjs
pullrequest.yml