[tech] Integrity checks for Gemini pages
Frank Jüdes Frank.Juedes at linux4specialists.com
Fri Jun 4 21:10:01 BST 2021
Hi Stephane again,
the issue with the Unicode characters is fixed. - At least half way... - It works for diacritic characters, like the "ü" in my lastname:
.
. | .
\ | /
'. \ ' / .'
'. .'```'. .'
<>...:::::::`.......`:::::::..<>
<>: Frank Jüdes :<>
<>:..........................:<>
<><><><><><><><><><><><><><><><>
But it will not work with other Unicode characters, for example emoticons:
.
. | .
\ | /
'. \ ' / .'
'. .'```'. .'
<>...:::::::`.......`:::::::..<>
<>: Frank Jüdes is a 🦆 :<>
<>:..........................:<>
<><><><><><><><><><><><><><><><>
The string-length of multibyte-characters is not calculated correctly by the /boxes/ program. Its a problem with the /boxes/ program that i cannot fix. 😟
Can you please check your string again and tell me if it works now? - Thank you very much in advance for your help.
Best regards from Charleston (WV),
Frank/2
On 2021-05-30 07:51, Stephane Bortzmeyer wrote:
> On Sun, May 30, 2021 at 01:38:54PM +0200,
> Almaember <almaember@disroot.org> wrote
> a message of 21 lines which said:
>
>> The web however has a Length header in HTTP. The point isn't to perform
>> overly complicated checks, but to be able to somewhat tell if the whole file
>> got transferred successfully.
> Since Gemini requires TLS, the proper solution is to require an
> explicit TLS close
> <https://gitlab.com/gemini-specification/protocol/-/issues/2>.
--
------------------------------------------------------------------------
My Gemini capsule orbits at gemini://h2903872.stratoserver.net/
------------------------------------------------------------------------
Archive home | About this archive