Skip to content

Commit c242bf8

Browse files
committed
http/hsts: Keep host inside of hsts store items
1 parent 58c2d28 commit c242bf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http/hsts.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function store_methods:store(host, directives)
5454
else
5555
-- add to store
5656
self.domains[host] = setmetatable({
57+
host = host;
5758
includeSubdomains = directives.includeSubdomains;
5859
expires = now + max_age;
5960
}, store_item_mt)

0 commit comments

Comments
 (0)