Skip to content

Fix proxyUrl with urldecode in sanitize and validate callbacks before…#2957

Merged
pfefferle merged 3 commits intoAutomattic:add/c2s-supportfrom
mediaformat:add/c2s-support
Feb 21, 2026
Merged

Fix proxyUrl with urldecode in sanitize and validate callbacks before…#2957
pfefferle merged 3 commits intoAutomattic:add/c2s-supportfrom
mediaformat:add/c2s-support

Conversation

@mediaformat
Copy link
Contributor

@mediaformat mediaformat commented Feb 21, 2026

Fixes proxyUrl endpoint to accept urlencoded id

Fixes #2851

Proposed changes:

  • urldecode() in sanitize_url callback & validate_url callback

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Go to '..'

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Deprecated - for soon-to-be removed features
  • Removed - for now removed features
  • Fixed - for any bug fixes
  • Security - in case of vulnerabilities

Message

Copy link
Member

@pfefferle pfefferle left a comment

Choose a reason for hiding this comment

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

Nice, thanks 😊

@pfefferle pfefferle merged commit 1739696 into Automattic:add/c2s-support Feb 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants