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

Multiple <mos> and </mos> tags in messages #85

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

nytamin
Copy link
Contributor

@nytamin nytamin commented Dec 14, 2023

About the Contributor

This PR is opened on behalf of the NRK

Type of Contribution

This is a bug fix to the issue described in #83

Current Behavior

If an incoming message contains a </mos> tag, the message is cut off and parsed at that point. This causes wierdness internally in mos-connection, including a circular mos-object.

New Behavior

The message parser looks for matching pairs of <mos> and </mos> tags, so messages aren't cut of prematurely anymore.

Testing Instructions

npm install @mos-connection/connector@3.0.5-nightly-fix-multiple-mos-tags-20231214-120351-59cacb2.0

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@nytamin nytamin merged commit 06fe33f into master Dec 18, 2023
21 checks passed
@nytamin nytamin deleted the fix/multiple-mos-tags branch December 18, 2023 13:42
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