[gopher] How to handle lines beginning by a dot?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
-----BEGIN PGP SIGNED MESSAGE-----
The Gopher RFC (1436) contains the following note:
"Lines beginning with periods must be prepended with an extra period to ensure
that the transmission is not terminated early. The client should strip extra
periods at the beginning of the line."
I do not understand what does it exactly mean...
If I serve a text file which has a line like ".Blah!", how should I process it?
I understand that the problem could occur if the client is silly enough to
close the connection when it finds a dot character after a CR/LF...
Another question - How should I handle text files which contain a line with
only a dot (".")?
Any suggestions/hints will be appreciated ;-)
You'll find my public OpenPGP key at gopher://gopher.viste-family.net/1/PGP
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-----END PGP SIGNATURE-----
- [gopher] How to handle lines beginning by a dot?,
Mateusz Viste <=