Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Add X-Requested-With header to all requests #1020

Merged
merged 1 commit into from
Mar 4, 2022
Merged

Conversation

dschmidt
Copy link
Member

@dschmidt dschmidt commented Mar 4, 2022

oC 10 uses this header to determine whether a request is an ajax
request. If we want to get rid of this, we need to make sure it's
not used anymore. For example currently it's used to determine
whether a PROPFIND on a password protected link should show
an auth popup or not.

Needed to fix owncloud/web#5727

oC 10 uses this header to determine whether a request is an ajax
request. If we want to get rid of this, we need to make sure it's
not used anymore. For example currently it's used to determine
whether a PROPFIND on a password protected link should show
an auth popup or not.
@sonarcloud
Copy link

sonarcloud bot commented Mar 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@dschmidt dschmidt merged commit 28f322b into master Mar 4, 2022
@delete-merged-branch delete-merged-branch bot deleted the x_requested_with branch March 4, 2022 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public links asking for user and password (basic auth popup)
2 participants