blmayer / ereandel

A Gemini web browser using shell script
gemini://terminal.pink/
MIT License
56 stars 6 forks source link

url-encode input for 10 and 11 reponse codes #33

Closed rnwgnr closed 1 year ago

rnwgnr commented 1 year ago

We need to encode user-provided input after a 10 or 11 status reponse.

If we don't encode the input will be cut off on blanks and other non-ASCII chars will get borked.

I checked against dash and it seems to work fine.

blmayer commented 1 year ago

Wonderful. Thanks again!

rnwgnr commented 1 year ago

I think i'm done for the moment with additions/fixes :)

already bumped the version with this PR

blmayer commented 1 year ago

Got it. I will make a release then. Thanks.