Fix for a Simple gcurl in Bash
I’m sorry, but I made a copy-and-paste error in the script version I released yesterday, which didn’t show in my testing.
I passed `-crlf` to `openssl s_client`, even though I have the `\r` already added in the `printf`, which lead to OpenSSL adding an additional `\r` to the request, effectively doubling the carriage return control character.
Apparently, some Gemini protocol servers and libraries rightly test for ASCII control characters in received URLs, after the mandatory `\r\n` at the end of the request has been removed. But not all of them. And I happened to only test with those who don’t. My bad.
Here’s the fixed version of yesterday’s script. I hope I didn’t waste anyone’s time.