Skip to content

fix: remove leading and trailing dashes from the resource ident#614

Open
wfleischer wants to merge 1 commit intojitsi:masterfrom
wfleischer:wf-resource-ident
Open

fix: remove leading and trailing dashes from the resource ident#614
wfleischer wants to merge 1 commit intojitsi:masterfrom
wfleischer:wf-resource-ident

Conversation

@wfleischer
Copy link

Sanitize the resource identifier by removing leading/trailing dashes. This prevents a fatal XmppStringprepException in Jicofo when it generates a Jingle session-initiate that includes a participant whose nickname starts with a hyphen, which is invalid for a JID.

Sanitize the resource identifier by removing leading/trailing dashes. This prevents a fatal XmppStringprepException in Jicofo when it generates a Jingle session-initiate that includes a participant whose nickname starts with a hyphen, which is invalid for a JID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant