💾 Archived View for rawtext.club › ~sloum › geminilist › 005898.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

Greek characters in query string

Omar Polo op at omarpolo.com

Thu Mar 4 07:56:45 GMT 2021

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

Stephane Bortzmeyer <stephane at sources.org> writes:

On Wed, Mar 03, 2021 at 09:57:07PM -0500,
Rev. Fr. Robert Bower <frrobert at frrobert.com> wrote
a message of 38 lines which said:
When the url with the query string is sent to the server (I am using
Molly Brown the server and amfora as a client) it is changed the
Greek characters using url encoding.
I am wondering how to I decode the url to get back the Greek
characters. I am using bash for my scripts.
The server (MollyBrown) should do it for you :-( but if it doesn't, in
bash, you have several solutions:

AFAIK that's not correct. gmid was doing exactly that, and aftertalking to Sean that raised some doubts about my CGI implementation (forthis and other details), I re-checked the RFC3875[0] and it effectivelyrequires QUERY_STRING to be url-encoded:

4.1.7. QUERY_STRING
The QUERY_STRING variable contains a URL-encoded search or parameter
string;

[0]: gemini://tanso.net/rfc/rfc3875.txt