-
-
Notifications
You must be signed in to change notification settings - Fork 770
Open
Labels
Description
Describe the bug 🐞
s there any way to stop Refit url encoding my URL segments, i'm using a Zoho API and it doesn't like it when it gets encoded.
Example:
[Post("/{prevCalendarId}/events/{**eventId}?destinationcaluid={destinationCalendarId}")]
Task<CalendarEvent> MoveEventToNewCalendar(string prevCalendarId,
string eventId, string destinationCalendarId);
The eventId is passed as something like 0000121312312313@zoho.com, but the @ symbol is being encoded, to something like this:
/api/v1/calendars/9000000001ea4a9287a548f28ca330b0/events/3bf00000000488fda0ec154ee%40zoho.com?destinationcaluid=10e03c34110f402dbf8368e500asdas0
I have seen various options to stop it encoding Query strings, but not the actual URL segments like above.
Step to reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Reproduction repository
https://github.com/reactiveui/refit
Expected behavior
This should happen...
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
Refit Version
No response
Additional information ℹ️
No response