-
Notifications
You must be signed in to change notification settings - Fork 440
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
Endpoint path involving * (variable) not working correctly #455
Comments
Hei, I got it fixed when I found some previous discussions about it.
used api/Apartments/* wildcard and injected my custom configuration class, works now |
Done |
Very good~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, im using following settings
Endpoint has following definition
[HttpPost("{id:int:min(1)}/lock")]
example request
/api/Apartments/12345/lock
when I hit this 3x I will get rate limited, but then I change variable and request go through.
/api/Apartments/11111/lock
in endpoint definition i thought /*/ between Apartments and lock would take care of this, but it doesnt.
How can I define endpoint path so that variable change does not trick limiter into thinking its a new url.
The text was updated successfully, but these errors were encountered: