You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduction:
Open Postman and PUT those resources to the gateleen storage (body does not matter) - note: only the last segment of the URL does matter:
Addition:
Similar problem also happens with expand=1.
Reproduction
PUT http://localhost:3332/gurgle_persistence/test/4_hello-:@$&()*+,;=
Request-Body (Json)
{
"hello" : "world1"
}
PUT http://localhost:3332/gurgle_persistence/test/1_hello-:$&()*+,;=
{
"hello" : "world2"
}
GET GET http://localhost:3332/gurgle_persistence/test?expand=1
STATUS = 200
Content-Length →53
Content-Type →application/json; charset=utf-8
Body (not valid json):
According to the spec (https://tools.ietf.org/html/rfc3986#page-13), those chars are allowed in url path sements:
Reproduction:
Open Postman and PUT those resources to the gateleen storage (body does not matter) - note: only the last segment of the URL does matter:
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/1_hello-$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/2_hello-$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/3_hello-$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/1_hello-:$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/4_hello-:@$&()*+,;=
Those path segments do not contain characters that need to be percent encoded (according to the spec).
Now do a GET using postman:
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/
Result
Note those two results - the character
§
- originally this was:
:1_hello-§$&()*+,;=
4_hello-§@$&()*+,;=
GETing the resources (GET works with the URL used in PUT but DOES NOT work using the URL returned by the collection listing):
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/4_hello-§@$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/1_hello-§$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/4_hello-:@$&()*+,;=
http://nemotest.pnet.ch:7012/nemo/server/tests/collection/1_hello-:$&()*+,;=
The problem can also be reproduced using the GUI:
The text was updated successfully, but these errors were encountered: