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

Request URL variable always return empty array #112

Open
siddiqar opened this issue Dec 2, 2024 · 1 comment
Open

Request URL variable always return empty array #112

siddiqar opened this issue Dec 2, 2024 · 1 comment

Comments

@siddiqar
Copy link

siddiqar commented Dec 2, 2024

After multiple exports, the variable in the request consistently produces an empty array.

image

Each URL parameter, such as :token, should be recognized as a variable.

After investigating the issue, I found that in the RouteProcessor class, the processRequest function is still searching for {params} enclosed in curly braces. However, the current implementation now uses :params with a colon.

image

Please update the regex in the processRequest function to handle :params correctly.

@tomirons
Copy link
Collaborator

tomirons commented Dec 5, 2024

@siddiqar can you please provide an example route definition that will help us replicate what you're seeing?

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

No branches or pull requests

2 participants