-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper error pages instead of always redirecting #34662
Conversation
cd91718
to
26f8d76
Compare
Does this close nextcloud/android#10628 (comment)? |
It would help but doesn't explain why the redirect is happening. The 404 should already be returned by the dav app, so it might just hide another issue. But I cannot reproduce this case either. Maybe it is related to the general webserver configuration (besides .htaccess)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
Finally the current behavior was driving me insane some times!
autoloaders not up-to-date |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
26f8d76
to
11bedf1
Compare
Nginx config does't seem to have this anymore since a long time: https://github.com/nextcloud/documentation/pull/392/files Does anyone have a nginx setup at hand to check if this is properly working there? |
hello @juliushaertl , |
Documentation is already up to date, but I've added a note for administrators with steps to take in #34692 |
Implements a generic 404 error page instead of always redirecting to the login page or dashboard as discussed in #33048
Can be tested by browsing to an invalid url like
/index.php/apps/nonexisting
Added the
pending documentation
label as we need to adjust the nginx config in the docs accordingly to what was done in the htaccess.