-
Notifications
You must be signed in to change notification settings - Fork 283
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
fix: more permissive type assertions #3692
Conversation
Pull Request Test Coverage Report for Build 854251439
💛 - Coveralls |
[activity.channelId, activity.conversation.id, `${formatTicks(activity.timestamp)}-${activity.id}.json`].join( | ||
'/' | ||
) | ||
[activity.channelId, activity.conversation.id, `${formatTicks(timestamp)}-${activity.id}.json`].join('/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not something for this PR, but in v5 the behavior around generating keys needs to be locked down and inputs need to be validated.
Are null
, undefined
, empty strings or whitespace-only strings valid for conversation IDs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
See microsoft/BotFramework-Composer#7854 for more details.
These can end up in serialized JSON transcripts as well, so to limit the chance of including connection strings or other secrets we should restrict their serialized forms.
62b1b5f
to
d406699
Compare
In lieu of Github Actions (current status is degraded perf), I've manually run the same CI suite via Dev Ops. |
Merging as ADO CI passed. |
* fix: more permissive type assertions Fixes #3684 * fix: json serialization cycles (#3693) See microsoft/BotFramework-Composer#7854 for more details. * fix: limit serialized form of storage types These can end up in serialized JSON transcripts as well, so to limit the chance of including connection strings or other secrets we should restrict their serialized forms. Co-authored-by: Steven Gum <[email protected]>
* fix: more permissive type assertions Fixes #3684 * fix: json serialization cycles (#3693) See microsoft/BotFramework-Composer#7854 for more details. * fix: limit serialized form of storage types These can end up in serialized JSON transcripts as well, so to limit the chance of including connection strings or other secrets we should restrict their serialized forms. Co-authored-by: Steven Gum <[email protected]>
* fix: more permissive type assertions (#3692) * fix: more permissive type assertions Fixes #3684 * fix: json serialization cycles (#3693) See microsoft/BotFramework-Composer#7854 for more details. * fix: limit serialized form of storage types These can end up in serialized JSON transcripts as well, so to limit the chance of including connection strings or other secrets we should restrict their serialized forms. Co-authored-by: Steven Gum <[email protected]> * fix: two typos (#3696) Co-authored-by: Steven Gum <[email protected]>
Fixes #3684