💾 Archived View for rawtext.club › ~sloum › geminilist › 001382.gmi captured on 2020-11-07 at 02:10:52. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

[Ann] An online arithmetic calculator for Gemini

Luke Emmet luke at marmaladefoo.com

Sat Jun 6 23:28:31 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 06-Jun-2020 23:16, Sean Conner wrote:

<snip>
That did not work. What did work?
"gemini://gemini.marmaladefoo.com/cgi-bin/calc.cgi?3 * 2 + 1"
That is, when I *did not* encode the query [1], it worked.
Is your client url escaping the request?
Define "url escaping the request". Because a query like "3 * 2 + 1" needs
to be esscpaed to "3%20*%202%20+%201"---it can also be escaped as
"%33%20%2A%20%32%20%2B%20%31". It's that escaped string that is sent to the
server.
-spc
[1] I have a *very* basic Gemini client that sends verbatim what I tell
it to send.Thanks for the feedback.

I'll investigate further and try to get to the bottom of this...

- Luke