Skip to content

Conversation

@dominnya
Copy link
Member

@dominnya dominnya commented Nov 8, 2025

No description provided.

@dominnya dominnya self-assigned this Nov 8, 2025
Copilot AI review requested due to automatic review settings November 8, 2025 12:05
@dominnya dominnya added the bug Something isn't working label Nov 8, 2025
Copy link

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 fixes path parameter parsing in the parseApiRequest utility to handle URL-encoded curly braces. The issue was that when the path is passed to the URL constructor, curly braces get automatically encoded to %7B and %7D, so the original replacement logic that looked for literal { and } characters would fail.

  • Updated path parameter replacement to use URL-encoded braces (%7B and %7D)
  • Added explanatory comments for the URL encoding
  • Updated the CHANGELOG with the fix description

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/utils/parseApiRequest.ts Fixed path parameter replacement to match URL-encoded braces and added debug console.log
CHANGELOG.md Added version 3.1.1 entry documenting the path parameter parsing fix

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

dominnya and others added 3 commits November 8, 2025 16:15
smh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Psychosynthesis Psychosynthesis merged commit dbec7d0 into main Nov 10, 2025
1 check passed
@Psychosynthesis Psychosynthesis deleted the hotfix/path-param-parsing branch November 10, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants