[PR #4707] [MERGED] Backport of Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) #17467

Closed
opened 2025-11-02 13:33:48 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4707
Author: @SagePtr
Created: 8/14/2018
Status: Merged
Merged: 8/14/2018
Merged by: @techknowlogick

Base: release/v1.5Head: cookies-backport


📝 Commits (1)

  • 57370f6 Make cookies HttpOnly and obey COOKIE_SECURE flag

📊 Changes

4 files changed (+26 additions, -25 deletions)

View changed files

📝 routers/routes/routes.go (+7 -6)
📝 routers/user/auth.go (+16 -16)
📝 routers/user/auth_openid.go (+2 -2)
📝 routers/user/setting/profile.go (+1 -1)

📄 Description

Backport of #4706 in case if it will be needed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4707 **Author:** [@SagePtr](https://github.com/SagePtr) **Created:** 8/14/2018 **Status:** ✅ Merged **Merged:** 8/14/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `release/v1.5` ← **Head:** `cookies-backport` --- ### 📝 Commits (1) - [`57370f6`](https://github.com/go-gitea/gitea/commit/57370f6eb8c7d98da5137178d74e3b6c78efc8b3) Make cookies HttpOnly and obey COOKIE_SECURE flag ### 📊 Changes **4 files changed** (+26 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `routers/routes/routes.go` (+7 -6) 📝 `routers/user/auth.go` (+16 -16) 📝 `routers/user/auth_openid.go` (+2 -2) 📝 `routers/user/setting/profile.go` (+1 -1) </details> ### 📄 Description Backport of #4706 in case if it will be needed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:33:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17467