Skip to content

Commit 3f665ba

Browse files
author
jvazquez-r7
committed
Skip also max-age from cookies
1 parent eb3c6fa commit 3f665ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rex/proto/http/response.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def get_cookies
7373
next if name == 'path'
7474
next if name == 'expires'
7575
next if name == 'domain'
76+
next if name == 'max-age'
7677
cookies << "#{k}=#{v}; "
7778
end
7879
end

0 commit comments

Comments
 (0)