Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

APP-3330: Fixed regex in SymMessageParser#95

Merged
symphony-elias merged 5 commits into
SymphonyPlatformSolutions:masterfrom
symphony-elias:APP-3330
Nov 30, 2020
Merged

APP-3330: Fixed regex in SymMessageParser#95
symphony-elias merged 5 commits into
SymphonyPlatformSolutions:masterfrom
symphony-elias:APP-3330

Conversation

@symphony-elias

Copy link
Copy Markdown
Contributor

Ticket

APP-3330

Description

Fixed regex in SymMessageParser to avoid ReDOS. Added unit tests.

Checklist

  • Referenced a ticket in the PR title and in the corresponding section
  • Filled properly the description and dependencies, if any
  • Unit tests updated or added

Comment thread lib/SymMessageParser/index.js
Comment thread lib/SymMessageParser/index.js Outdated
@symphony-elias symphony-elias requested a review from a team November 27, 2020 10:08
andreihincu
andreihincu previously approved these changes Nov 27, 2020

@andreihincu andreihincu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better and cleaner....Great job, @symphony-elias !

Comment thread tests/SymMessageParser/index.test.js
symphony-youri
symphony-youri previously approved these changes Nov 27, 2020

@symphony-youri symphony-youri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good job on removing the regex
image

@symphony-elias symphony-elias merged commit 95b8338 into SymphonyPlatformSolutions:master Nov 30, 2020
@symphony-elias symphony-elias deleted the APP-3330 branch November 30, 2020 09:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants