Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AWS CLI retrieves HTML from an URL and puts it into the message body instead of just the URL. (SQS) #2577
I found an interesting feature/bug which is not in the documentation of aws cli.
To me it bothers me a lot, because of existing lambda functions that need to be changed, before they can work with the modified version (putting the url between '"' solves the problem).
Test command: aws sqs send-message --queue-url QUEUE URL HERE --message-body "http://www.bbc.com"
Any one who can enlighten me in this particular situation?
So the reason you are seeing this is because it is a feature of the CLI that if a value starts with:
Unfortunately, there is no explicit option for turning this off. The best way to get around this would be to use
Let us know if that helps of if you have anymore questions.
referenced this issue
Nov 6, 2017
We're closing this issue here on GitHub, as part of our migration to UserVoice for feature requests involving the AWS CLI.
This will let us get the most important features to you, by making it easier to search for and show support for the features you care the most about, without diluting the conversation with bug reports.
As a quick UserVoice primer (if not already familiar): after an idea is posted, people can vote on the ideas, and the product team will be responding directly to the most popular suggestions.
We’ve imported existing feature requests from GitHub - Search for this issue there!
And don't worry, this issue will still exist on GitHub for posterity's sake. As it’s a text-only import of the original post into UserVoice, we’ll still be keeping in mind the comments and discussion that already exist here on the GitHub issue.
GitHub will remain the channel for reporting bugs.
Once again, this issue can now be found by searching for the title on: https://aws.uservoice.com/forums/598381-aws-command-line-interface
-The AWS SDKs & Tools Team