Re: [PATCH 1/1] cgitrc: handle value "0" for max-repo-count

2018-10-18 Thread Jason A. Donenfeld
Hey Christian, We should indeed introduce some sanitation helpers to deal with these in the general case. API suggestion: type_t parse_int(const char *str, type_t min, type_t max, type_t fallback_if_invalid); What would you think of that? Regards, Jason _

[BUG] cgit W3 validator fail

2018-10-18 Thread Anast Gramm
Hello. I recently got into some html "programming" and found out about the w3 validator service https://validator.w3.org/ Upon running it on a cgit site I own an error occurred: > The summary attribute on the table element is obsolete. > Consider describing the structure of the table in a caption