Skip to content

[master] fix(settings): Use axios directly for health check to preven URL sanitizing - #52439

Merged
solracsf merged 2 commits into
masterfrom
backport/45765/master
Apr 25, 2025
Merged

[master] fix(settings): Use axios directly for health check to preven URL sanitizing#52439
solracsf merged 2 commits into
masterfrom
backport/45765/master

Conversation

@backportbot

@backportbotbackportbotBot commented Apr 25, 2025

Copy link
Copy Markdown

Should help with #51213 and no reason for this to not be in master and 31 (shipped into 30 and below).

Backport of #45765
Fix#51213


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

…tizing
When using Apache with `DirectorySlash` it will respond with 301 and the URL with trailing slash.
But when using traefik as the reverse proxy it can not rewrite redirects, this leads to the problem
that the Apache response is using HTTP in the redirect but the real server (traefik) is only listening on HTTPS.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot
backportbotBot requested a review from a team as a code ownerApril 25, 2025 14:39
@backportbot
backportbotBot requested review from Pytal, grnd-alt, nfebe, skjnldsv, susnux and szaimen and removed request for a teamApril 25, 2025 14:39
@backportbotbackportbotBot added the 3. to review Waiting for reviews label Apr 25, 2025
@solracsf

Copy link
Copy Markdown
Member

/backport 5dfbac8 to stable31

@kesselb

Copy link
Copy Markdown
Contributor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@solracsf
solracsf enabled auto-merge April 25, 2025 15:02
@solracsfsolracsf added this to the Nextcloud 32 milestone Apr 25, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Nextcloud 31 - Install/Enable apps with ajax request to http

6 participants

@solracsf@kesselb@susnux@szaimen@skjnldsv@nextcloud-command