Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim prefix during match #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Trim prefix during match #127

wants to merge 1 commit into from

Conversation

rustamwin
Copy link
Member

Q A
Is bugfix? ✔️/❌
New feature? ✔️/❌
Breaks BC? ✔️/❌
Fixed issues comma-separated list of tickets # fixed by the PR, if any

@what-the-diff
Copy link

what-the-diff bot commented Feb 27, 2023

  • Added UrlGeneratorInterface to the constructor of UrlMatcher
  • Changed ConfigTest::getDiConfig() method, added merging configs with di-postfix.php file
  • Fixed tests for new functionality in url matcher: uri prefix and host matching (added $uriPrefix parameter)

->getUri()
->getPath());
$path = urldecode($request->getUri()->getPath());
$uriPrefix = $this->urlGenerator->getUriPrefix();
Copy link
Member

Choose a reason for hiding this comment

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

Can we pass prefix and not the whole URL generator?

Copy link
Member Author

Choose a reason for hiding this comment

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

Without dependency? Nope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants