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

Allow passing fragment to reroute() #1156

Closed
kumy opened this issue Aug 25, 2019 · 0 comments · Fixed by f3-factory/fatfree-core#282
Closed

Allow passing fragment to reroute() #1156

kumy opened this issue Aug 25, 2019 · 0 comments · Fixed by f3-factory/fatfree-core#282

Comments

@kumy
Copy link

kumy commented Aug 25, 2019

The current reroute function allow to include fragment in url only if the url contains parameters.

Working (theoretically - just by looking at the regex)

$f3->reroute('@details(@id=18727)?param=1&param2=2#anchor');

Actually not working

$f3->reroute('@details(@id=18727)#anchor');
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 a pull request may close this issue.

1 participant