gopher-validator, branch HEAD Simple gopher menu validator. 2b61ae1acb12c9d02232336688db16c6ff32527b 2022-02-19T13:26:30Z 2022-02-19T13:26:30Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit 2b61ae1acb12c9d02232336688db16c6ff32527b parent 0e27f3fb4bef15f6bac55c3e231a45cce1ef9d91 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 19 Feb 2022 14:26:30 +0100 bump LICENSE year 0e27f3fb4bef15f6bac55c3e231a45cce1ef9d91 2022-02-19T13:25:01Z 2022-02-19T13:25:01Z rm TODO Hiltjo Posthuma hiltjo@codemadness.org commit 0e27f3fb4bef15f6bac55c3e231a45cce1ef9d91 parent 8a541d4834b40fdd55fe0263e19c7c15a748fd57 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 19 Feb 2022 14:25:01 +0100 rm TODO 8a541d4834b40fdd55fe0263e19c7c15a748fd57 2022-02-18T13:29:12Z 2022-02-18T13:29:12Z do not allow an empty port field Hiltjo Posthuma hiltjo@codemadness.org commit 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 a230aa92f5f19ff3160fd7cdc7acc2810a02839a 2022-02-18T13:27:52Z 2022-02-18T13:27:52Z use a binary search for checking the gopher type file extensions Hiltjo Posthuma hiltjo@codemadness.org commit 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. d2d0e95268db4d42a56e0b8967af42b146a3a7e3 2022-02-18T13:27:16Z 2022-02-18T13:27:16Z sort table with types and extensions alphabetically by extension Hiltjo Posthuma hiltjo@codemadness.org commit 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 d9abe6e45e708f965778fba7a66e56300fc0b814 2021-01-05T20:50:49Z 2021-01-05T20:50:49Z reset mbtowc decoding state so it prints the warning once Hiltjo Posthuma hiltjo@codemadness.org commit 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 936d0f6a5c92d6580cd15d60fac5c0e98b01e946 2020-01-09T19:19:07Z 2020-01-09T19:19:07Z gopher-validator.1: document param argument, order sections Hiltjo Posthuma hiltjo@codemadness.org commit 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 a19073d4e019f0a18d854ca2ff1df7d6132d563a 2020-01-09T19:13:21Z 2020-01-09T19:13:21Z rename "server" to "host", because this name is used in the RFC Hiltjo Posthuma hiltjo@codemadness.org commit 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 512e7771a14a5b12fcbd24d96497fcf5cc999722 2019-08-24T09:33:17Z 2019-08-24T09:33:17Z count from 1 (not 0) for the column number / character index Hiltjo Posthuma hiltjo@codemadness.org commit 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 ea7e95bed480772aa6a83526d0a8f7d34dd08656 2019-08-11T09:34:13Z 2019-08-11T09:34:13Z a '.' is allowed in IPv6 addresses, see RFC2732 Hiltjo Posthuma hiltjo@codemadness.org commit 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. e4a622665300d0c8c5ce1a4fa6608f6733f3c191 2019-08-10T18:27:37Z 2019-08-10T18:27:37Z add function to check server/hostname Hiltjo Posthuma hiltjo@codemadness.org commit 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 5ca656215b1e77b7fef4dcf37cd6e429146b9426 2019-07-22T16:54:33Z 2019-07-22T16:54:33Z gopher-validator rewrite in C Hiltjo Posthuma hiltjo@codemadness.org commit 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. 668e42abfef42e56f315c54ad8aea639f02871ca 2018-08-10T13:11:18Z 2018-08-10T13:11:18Z Add LICENSE, Makefile, manpage. Christoph Lohmann 20h@r-36.net commit 668e42abfef42e56f315c54ad8aea639f02871ca parent 9bd285bfee3888c74667bfa2b7b2f41de27a149c Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 10 Aug 2018 15:11:18 +0200 Add LICENSE, Makefile, manpage. 9bd285bfee3888c74667bfa2b7b2f41de27a149c 2018-08-10T12:54:54Z 2018-08-10T12:54:54Z Make the validation valider. Christoph Lohmann 20h@r-36.net commit 9bd285bfee3888c74667bfa2b7b2f41de27a149c parent 152b7ffd60ace3f18a6cfd667432437c4e6aa69c Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 10 Aug 2018 14:54:54 +0200 Make the validation valider. 152b7ffd60ace3f18a6cfd667432437c4e6aa69c 2018-07-18T21:21:41Z 2018-07-18T21:21:41Z Initial gopher validator commit. Christoph Lohmann 20h@r-36.net commit 152b7ffd60ace3f18a6cfd667432437c4e6aa69c Author: Christoph Lohmann <20h@r-36.net> Date: Wed, 18 Jul 2018 23:21:41 +0200 Initial gopher validator commit.