Skip to content

Conversation

@tracyboehrer
Copy link
Member

Fixes #531

Copilot AI review requested due to automatic review settings December 8, 2025 17:47
@tracyboehrer tracyboehrer requested a review from a team as a code owner December 8, 2025 17:47
@github-actions github-actions bot added the ML: Core Tags changes to core libraries label Dec 8, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds URL encoding to conversation IDs and activity IDs in the ReplyToActivity and SendToConversation REST API methods to handle special characters in these identifiers. The change also refactors the conversation ID truncation logic into a reusable helper method.

  • Adds HttpUtility.UrlEncode() to conversation and activity IDs in URL paths for two key methods
  • Refactors conversation ID truncation logic from inline code into a dedicated TruncateConversationId() helper method
  • Reorganizes using statements to include System.Web namespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ML: Core Tags changes to core libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A slash in a Teams ConversationId will cause send failures

2 participants