-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
Description
Currently
- NSS raises internal server error, if slug of a non-container resource ends with "%2F", which is also pct-encoded alias of "/". Thus we cannot do
PUTres with uri likehttp://example.org/pod1/c1/c2/t1%2fwith any content-type other thantxt/html. NSS will raise internal server error. Even withtxt/html, it creates containert1/instead of non-containert1%2Fresource - When slug contains
%2Fin middle, liket1%2Faa.txt, server sends success status on put request, and correctly returns location ast1%2Faa.txtunder it's parent container, and also sends correct acl location. But in actual it instead createst1/aa.txtresource, along witht1/container.
The problem seems, when translating url-path to fs-path, it pct-decodes entire path instead of splitting path segments, and decoding them safely and combining them back. This violates uri standard too.
ESS sends 403 instead of 500, for all above cases, even though there is no spec violation.
CSS seems also has issue
Reactions are currently unavailable