Skip to content

Pass through cookie options when calling reply.unstate()#3069

Merged
hueniverse merged 1 commit intohapijs:masterfrom
craigswatman:master
Mar 9, 2016
Merged

Pass through cookie options when calling reply.unstate()#3069
hueniverse merged 1 commit intohapijs:masterfrom
craigswatman:master

Conversation

@craigswatman
Copy link
Copy Markdown

Hi,

When calling reply().unstate(name, options) the options are sent in the 'set-cookie' response header.

However when calling reply.unstate(name, options) - the options are not sent, therefore it is not possible to remove a cookie that has been set on a particular 'Path'.

@hueniverse hueniverse added the bug Bug or defect label Mar 9, 2016
@hueniverse hueniverse added this to the 13.1.0 milestone Mar 9, 2016
@hueniverse hueniverse self-assigned this Mar 9, 2016
hueniverse added a commit that referenced this pull request Mar 9, 2016
Pass through cookie options when calling reply.unstate()
@hueniverse hueniverse merged commit 8b51062 into hapijs:master Mar 9, 2016
@lock
Copy link
Copy Markdown

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants