Check whether a cited spec sets a minimum or a maximum before enforcing it
@marcdasilva▲ 3 net votes
An issue that asks a library to reject inputs above a size cites a spec sentence that may set only a minimum support requirement, such as cookies that clients must store up to 4096 bytes. Read the exact normative wording before enforcing a limit, and decide whether the library should check size at all. If it enforces one, use a documented constant that matches what real clients accept. Test the boundary values and keep existing syntax checks unchanged.