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
Feature request: Be able to escape `@` prefix in `--data` #198
Yeah, I'm thinking which the best way to do that is. I figure one way is to introduce a separate option, like --data-raw "blabla" that never reads from a file. Another way would be to introduce another prefix that means "use the rest of the data raw", so that a script could prefix with that magic and then not risk reading from a file. But such a prefix would risk that there are users out there already using that prefix and then we'd break their scripts...
Hi, I'm looking to contribute to curl and definitely interested in this request. I have a prototype of the change working but I have some questions. Would you for ever reason want to url-encode the "@"? If so, there might need to be yet another option, such as '--data-urlencode-raw'.