Skip to content

Enhanced feed URL validation#1282

Open
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/1281
Open

Enhanced feed URL validation#1282
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/1281

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Summary

Validated the feed URL without the authentication credentials. If the feed URL is valid, the original Basic Authentication feed URL is used to import the feed.

Check before Pull Request is ready:

Closes #1281

@girishpanchal30
girishpanchal30 requested a review from Copilot July 16, 2026 07:29
@girishpanchal30 girishpanchal30 linked an issue Jul 16, 2026 that may be closed by this pull request
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jul 16, 2026
@pirate-bot

pirate-bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Plugin build for f0bbe09 is ready 🛎️!

Note

You can preview the changes in the Playground

Copilot AI 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.

Pull request overview

Enables authenticated feed URLs to pass SSRF validation while preserving credentials for import.

Changes:

  • Validates a credential-free URL while retaining the original authenticated URL.
  • Adds regression and SSRF tests for authenticated feeds.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
includes/abstract/feedzy-rss-feeds-admin-abstract.php Adds authenticated URL validation.
tests/test-admin-abstract.php Adds validation and normalization coverage.

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

Comment thread includes/abstract/feedzy-rss-feeds-admin-abstract.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basic-auth feed URL is dropped during import normalization

4 participants