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.
Updated by Yuval Lifshitz over 2 years ago
a test case should be added to: test_rgw_url.cc
Updated by Casey Bodley over 2 years ago
- Status changed from New to Pending Backport
- Pull request ID set to 43528
Updated by Backport Bot over 2 years ago
- Copied to Backport #53078: octopus: notifications: http endpoints with one trailing slash are considered malformed added
Updated by Backport Bot over 2 years ago
- Copied to Backport #53079: pacific: notifications: http endpoints with one trailing slash are considered malformed added
Updated by Backport Bot over 1 year ago
- Tags changed from easy first bug to easy first bug backport_processed
Updated by Konstantin Shalygin over 1 year ago
- Status changed from Pending Backport to Resolved
Actions