Add the four settings the README documented but pixa lacked (closes #61) #142

Merged
clawbot merged 12 commits from issue-61-config-keys into next 2026-09-29 08:49:19 +02:00
Showing only changes of commit 2e06be40c9 - Show all commits
@@ -762,6 +762,16 @@ func invalidSizeAndOriginCases() []abortCase {
"https://example.com:0", // a port below 1 "https://example.com:0", // a port below 1
"https://example.com:99999", // a port above 65535 "https://example.com:99999", // a port above 65535
"https://exämple.com", // a host name that is not ASCII "https://exämple.com", // a host name that is not ASCII
"https://example.com:443", // the default port for https
"http://example.com:80", // the default port for http
"https://example.com:08080", // a port with a leading zero
"https://01.2.3.4", // an IPv4 address with a leading zero
"https://10.0.0", // an IPv4 address with three parts
"https://192.168.1.256", // an IPv4 address part above 255
"https://example.123", // a host name whose last part is a number
"https://[0:0:0:0:0:0:0:1]", // an IPv6 address not in its shortest form
"file://example.com", // a scheme other than http or https
"https://Example.com", // a host name in upper case
} }
cases := make([]abortCase, 0, len(badOrigins)) cases := make([]abortCase, 0, len(badOrigins))