gopher-validator, branch HEADSimple gopher menu validator.
2b61ae1acb12c9d02232336688db16c6ff32527b2022-02-19T13:26:30Z2022-02-19T13:26:30Zbump LICENSE yearHiltjo Posthumahiltjo@codemadness.orgcommit 2b61ae1acb12c9d02232336688db16c6ff32527b
parent 0e27f3fb4bef15f6bac55c3e231a45cce1ef9d91
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 19 Feb 2022 14:26:30 +0100
bump LICENSE year
0e27f3fb4bef15f6bac55c3e231a45cce1ef9d912022-02-19T13:25:01Z2022-02-19T13:25:01Zrm TODOHiltjo Posthumahiltjo@codemadness.orgcommit 0e27f3fb4bef15f6bac55c3e231a45cce1ef9d91
parent 8a541d4834b40fdd55fe0263e19c7c15a748fd57
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 19 Feb 2022 14:25:01 +0100
rm TODO
8a541d4834b40fdd55fe0263e19c7c15a748fd572022-02-18T13:29:12Z2022-02-18T13:29:12Zdo not allow an empty port fieldHiltjo Posthumahiltjo@codemadness.orgcommit 8a541d4834b40fdd55fe0263e19c7c15a748fd57
parent a230aa92f5f19ff3160fd7cdc7acc2810a02839a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 18 Feb 2022 14:29:12 +0100
do not allow an empty port field
a230aa92f5f19ff3160fd7cdc7acc2810a02839a2022-02-18T13:27:52Z2022-02-18T13:27:52Zuse a binary search for checking the gopher type file extensionsHiltjo Posthumahiltjo@codemadness.orgcommit a230aa92f5f19ff3160fd7cdc7acc2810a02839a
parent d2d0e95268db4d42a56e0b8967af42b146a3a7e3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 18 Feb 2022 14:27:52 +0100
use a binary search for checking the gopher type file extensions
... and improve a check which shouldve been outside the loop.
d2d0e95268db4d42a56e0b8967af42b146a3a7e32022-02-18T13:27:16Z2022-02-18T13:27:16Zsort table with types and extensions alphabetically by extensionHiltjo Posthumahiltjo@codemadness.orgcommit d2d0e95268db4d42a56e0b8967af42b146a3a7e3
parent d9abe6e45e708f965778fba7a66e56300fc0b814
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 18 Feb 2022 14:27:16 +0100
sort table with types and extensions alphabetically by extension
d9abe6e45e708f965778fba7a66e56300fc0b8142021-01-05T20:50:49Z2021-01-05T20:50:49Zreset mbtowc decoding state so it prints the warning onceHiltjo Posthumahiltjo@codemadness.orgcommit d9abe6e45e708f965778fba7a66e56300fc0b814
parent 936d0f6a5c92d6580cd15d60fac5c0e98b01e946
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 5 Jan 2021 21:50:49 +0100
reset mbtowc decoding state so it prints the warning once
936d0f6a5c92d6580cd15d60fac5c0e98b01e9462020-01-09T19:19:07Z2020-01-09T19:19:07Zgopher-validator.1: document param argument, order sectionsHiltjo Posthumahiltjo@codemadness.orgcommit 936d0f6a5c92d6580cd15d60fac5c0e98b01e946
parent a19073d4e019f0a18d854ca2ff1df7d6132d563a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 9 Jan 2020 20:19:07 +0100
gopher-validator.1: document param argument, order sections
a19073d4e019f0a18d854ca2ff1df7d6132d563a2020-01-09T19:13:21Z2020-01-09T19:13:21Zrename "server" to "host", because this name is used in the RFCHiltjo Posthumahiltjo@codemadness.orgcommit a19073d4e019f0a18d854ca2ff1df7d6132d563a
parent 512e7771a14a5b12fcbd24d96497fcf5cc999722
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 9 Jan 2020 20:13:21 +0100
rename "server" to "host", because this name is used in the RFC
512e7771a14a5b12fcbd24d96497fcf5cc9997222019-08-24T09:33:17Z2019-08-24T09:33:17Zcount from 1 (not 0) for the column number / character indexHiltjo Posthumahiltjo@codemadness.orgcommit 512e7771a14a5b12fcbd24d96497fcf5cc999722
parent ea7e95bed480772aa6a83526d0a8f7d34dd08656
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 24 Aug 2019 11:33:17 +0200
count from 1 (not 0) for the column number / character index
ea7e95bed480772aa6a83526d0a8f7d34dd086562019-08-11T09:34:13Z2019-08-11T09:34:13Za '.' is allowed in IPv6 addresses, see RFC2732Hiltjo Posthumahiltjo@codemadness.orgcommit ea7e95bed480772aa6a83526d0a8f7d34dd08656
parent e4a622665300d0c8c5ce1a4fa6608f6733f3c191
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Aug 2019 11:34:13 +0200
a '.' is allowed in IPv6 addresses, see RFC2732
for example "::FFFF:129.144.52.38" is a valid address.
e4a622665300d0c8c5ce1a4fa6608f6733f3c1912019-08-10T18:27:37Z2019-08-10T18:27:37Zadd function to check server/hostnameHiltjo Posthumahiltjo@codemadness.orgcommit e4a622665300d0c8c5ce1a4fa6608f6733f3c191
parent 5ca656215b1e77b7fef4dcf37cd6e429146b9426
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 10 Aug 2019 20:27:37 +0200
add function to check server/hostname
this check is incomplete, but should cover some cases
5ca656215b1e77b7fef4dcf37cd6e429146b94262019-07-22T16:54:33Z2019-07-22T16:54:33Zgopher-validator rewrite in CHiltjo Posthumahiltjo@codemadness.orgcommit 5ca656215b1e77b7fef4dcf37cd6e429146b9426
parent 668e42abfef42e56f315c54ad8aea639f02871ca
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 22 Jul 2019 18:54:33 +0200
gopher-validator rewrite in C
gopher-validator is now a client of it's own and validates more things
according to the official RFC spec. It does not depend on sacc anymore.
668e42abfef42e56f315c54ad8aea639f02871ca2018-08-10T13:11:18Z2018-08-10T13:11:18ZAdd LICENSE, Makefile, manpage.Christoph Lohmann20h@r-36.netcommit 668e42abfef42e56f315c54ad8aea639f02871ca
parent 9bd285bfee3888c74667bfa2b7b2f41de27a149c
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 10 Aug 2018 15:11:18 +0200
Add LICENSE, Makefile, manpage.
9bd285bfee3888c74667bfa2b7b2f41de27a149c2018-08-10T12:54:54Z2018-08-10T12:54:54ZMake the validation valider.Christoph Lohmann20h@r-36.netcommit 9bd285bfee3888c74667bfa2b7b2f41de27a149c
parent 152b7ffd60ace3f18a6cfd667432437c4e6aa69c
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 10 Aug 2018 14:54:54 +0200
Make the validation valider.
152b7ffd60ace3f18a6cfd667432437c4e6aa69c2018-07-18T21:21:41Z2018-07-18T21:21:41ZInitial gopher validator commit.Christoph Lohmann20h@r-36.netcommit 152b7ffd60ace3f18a6cfd667432437c4e6aa69c
Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 18 Jul 2018 23:21:41 +0200
Initial gopher validator commit.