News for hackers. Stuff that matters.
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by BiteCode_dev on Thursday July 01, 2021 @08:52AM (#27698588)
Not even a command line ?
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by dariusj18 on Thursday July 01, 2021 @08:54AM (#27698606)
Oh no, definitely not. If I don't understand what it is doing then I don't put in in my command line. That's a recipe for disaster.
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by AlexAndScripts on Thursday July 01, 2021 @09:01AM (#27698650)
What if you now understand what it's doing (jogged your memory) and its a long command?
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by marcosdumay on Thursday July 01, 2021 @12:09PM (#27700644)
Then you take the lessons you need from the line and encode them in a properly formatted script.

A long command is almost never a good answer.

Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by dariusj18 on Thursday July 01, 2021 @09:06AM (#27698691)
Very rarely does a command line example map one to one with what I want to accomplish anyway. But also, I can't think of any "long" commands that I would need.
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by BiteCode_dev on Thursday July 01, 2021 @09:00AM (#27698643)
why would you not understand it ? it seems unrelated.
Re:Don't encode POST bodies like GitHub Copilot, use URLSear... by corobo on Thursday July 01, 2021 @08:57AM (#27698626)
Type it out anyway, copy paste security risks or not, it helps you remember how to do it in future