Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[stable35] fix(core): return 404 for invalid js/css folder names - #67428

Open
backportbot[bot] wants to merge 1 commit into
stable35from
backport/66997/stable35
Open

backportbot[bot] wants to merge 1 commit into
stable35from
backport/66997/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Dec 2, 2026

Copy link
Copy Markdown

Backport of PR #66997

Requests like /js/../.htpasswd are rejected by the files layer with a
NotPermittedException, which the JS and CSS controllers did not catch.
Scanner probes therefore caused a 500 and an error-level log entry
instead of a plain 404.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@backportbot
backportbot Bot requested a review from a team as a code owner December 2, 2026 10:03
@backportbot
backportbot Bot requested review from CarlSchwan, icewind1991, leftybournes, provokateurin and szaimen and removed request for a team December 2, 2026 10:03
@backportbot backportbot Bot added bug 3. to review Waiting for reviews AI assisted labels Dec 2, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.4 milestone Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants