Actions
Bug #52738
closednotifications: http endpoints with one trailing slash are considered malformed
% Done:
0%
Source:
Support
Tags:
easy first bug backport_processed
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
following command is considered as malformed URL:
aws --endpoint-url http://localhost:8000 sns create-topic --name=mytopic1 --attributes='{"push-endpoint": "http://localhost:8080/"}'
while the following are OK:
aws --endpoint-url http://localhost:8000 sns create-topic --name=mytopic1 --attributes='{"push-endpoint": "http://localhost:8080"}' aws --endpoint-url http://localhost:8000 sns create-topic --name=mytopic1 --attributes='{"push-endpoint": "http://localhost:8080/something"}'
to fix this issue, the regular expression for the "path" in rgw_url.cc should be modified to allow for "http://localhost:8080/" as a valid URL.
Actions