-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Failure creating items with %2f #384
Comments
The log line from Xandikos reads:
|
The last parragraph of https://www.rfc-editor.org/rfc/rfc3986#section-2.2 is relevant here:
So |
Also relevant, from https://www.rfc-editor.org/rfc/rfc3986#section-7.3:
I'm aware that this is quite an edge case — I came across this scenario while testing pimsync for this edge case with different CalDAV implementations. |
Actual behaviour
Creating an item such as
/user/calendars/pZamv4UPiTOPuSM2/itemwith%2fslash.ics
returns404 Not Found
.Expected behaviour
This should create an item named
itemwith%2fslash.ics
inside the collection/user/calendars/pZamv4UPiTOPuSM2/
.Additional notes
My guess is that the URL is being percent-decoded BEFORE splitting the segments in the path, so Xandikos is trying to create an item named
slash.ics
insside the collection/user/calendars/pZamv4UPiTOPuSM2/itemwith
.The text was updated successfully, but these errors were encountered: