2

I have a little issue with Ocelot Gateway v17.

I'm using URL Encoding to pass some parameter to controller. Like this:

https://localhost:44350/api/analytics/alarms/RD-A-001%2F1/1

Testing in my laptop, works fine, but in the server (IIS), Ocelot sends the parameter with URL Decoding. Like this:

http://localhost/analytics.api/alarms/RD-A-001/1/1

There is any configuration to Ocelot to force to send parameters using URL Encoding?

Regards, Gustavo

1
  • I thinks I need to configure URL Rewrite Module with UNENCODED_URL, but I'm not sure how can I do it. :-/ Commented Feb 15, 2022 at 15:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.