Skip to content

Conversation

@albertcht
Copy link
Contributor

Swoole 的 response 中的 rawcookie 方法中若 value 爲空值,則輸出的 httpOnly 會消失導致刪除 cookie 失效
可參照 Laravel Octane 中的修正:https://github.com/laravel/octane/pull/642/files

@limingxinleo
Copy link
Member

我去问问峰哥

@albertcht
Copy link
Contributor Author

@limingxinleo 想問一下這裡後來有結果嗎?

@limingxinleo
Copy link
Member

@limingxinleo 想問一下這裡後來有結果嗎?

还没。。

@limingxinleo limingxinleo changed the title fix: fix value when delete cookie Fixed bug that the cookie value cannot be deleted when set "". Jun 30, 2025
@limingxinleo limingxinleo merged commit f8b70fe into hyperf:master Jun 30, 2025
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants