mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:03:37 +03:00
hsts: improve subdomain handling
- on load, only replace existing HSTS entries if there is a full host match - on matching, prefer a full host match and secondary the longest tail subdomain match Closes #15210
This commit is contained in:
parent
461ce6c616
commit
a94973805d
2 changed files with 11 additions and 5 deletions
|
|
@ -52,7 +52,7 @@ this.example [this.example]: 1548400797
|
|||
Input 12: error 43
|
||||
Input 13: error 43
|
||||
Input 14: error 43
|
||||
3.example.com [example.com]: 1569905261 includeSubDomains
|
||||
3.example.com [3.example.com]: 1569905261 includeSubDomains
|
||||
3.example.com [example.com]: 1569905261 includeSubDomains
|
||||
foo.example.com [example.com]: 1569905261 includeSubDomains
|
||||
'foo.xample.com' is not HSTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue