Skip to content

Conversation

@bram123
Copy link
Member

@bram123 bram123 commented Jun 3, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 3, 2025 11:25
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 pull request adds support for using the pipe ("|") character as an alternative separator for trusted IPs.

  • New test cases using the TestWith attribute to cover different formats including the pipe separator.
  • Updated the TraceSubscriber to replace pipes with commas when parsing trusted IP values.

Reviewed Changes

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

File Description
tests/Unit/EventSubscriber/TraceSubscriberTest.php Added multiple test cases to verify support for different IP formats
src/EventSubscriber/TraceSubscriber.php Enhanced parsing logic to convert pipe-separated lists into comma-separated lists

@bram123 bram123 requested a review from frankdekker June 3, 2025 11:33
@bram123 bram123 merged commit d07382f into 123inkt:master Jun 3, 2025
14 checks passed
@bram123 bram123 deleted the trustedIp_support_pipe branch June 3, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants