Skip to content

feat(proxy): [OCISDEV-342] set referrer-policy to no-referrer#11722

Merged
LukasHirt merged 1 commit intomasterfrom
feat/no-referrer
Oct 27, 2025
Merged

feat(proxy): [OCISDEV-342] set referrer-policy to no-referrer#11722
LukasHirt merged 1 commit intomasterfrom
feat/no-referrer

Conversation

@LukasHirt
Copy link
Contributor

@LukasHirt LukasHirt commented Oct 7, 2025

Description

Change the Referrer-Policy from 'strict-origin-when-cross-origin' to 'no-referrer' to enhance user privacy and security.

Previously, the origin was sent on cross-origin requests. This change completely removes the Referrer header from all outgoing requests, preventing any potential leakage of browsing information to third parties. This is a more robust approach to protecting user privacy.

Motivation and Context

Better privacy.

How Has This Been Tested?

  • test environment: macos, chrome
  • test case 1: start the server, open the UI and check that the request includes the correct header

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

@LukasHirt LukasHirt requested review from 2403905 and kobergj October 7, 2025 09:21
@LukasHirt LukasHirt self-assigned this Oct 7, 2025
@LukasHirt LukasHirt added the Category:Enhancement Add new functionality label Oct 7, 2025
@LukasHirt LukasHirt enabled auto-merge October 7, 2025 09:28
@LukasHirt
Copy link
Contributor Author

Rebased just to sync it with master. No change pushed.

Change the Referrer-Policy from 'strict-origin-when-cross-origin'
to 'no-referrer' to enhance user privacy and security.

Previously, the origin was sent on cross-origin requests. This change
completely removes the Referrer header from all outgoing requests,
preventing any potential leakage of browsing information to third parties.
This is a more robust approach to protecting user privacy.
@sonarqubecloud
Copy link

@LukasHirt LukasHirt merged commit 1f5cbe4 into master Oct 27, 2025
4 checks passed
@LukasHirt LukasHirt deleted the feat/no-referrer branch October 27, 2025 09:18
ownclouders pushed a commit that referenced this pull request Oct 27, 2025
feat(proxy): [OCISDEV-342] set referrer-policy to no-referrer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category:Enhancement Add new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants