Skip to content
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

Added 301 redirect for favicon.ico #25307

Closed

Conversation

elsiehupp
Copy link
Member

This is a potential fix for #24821.

I haven't been able to test it, yet.

Redirect /favicon.ico to /core/img/favicon.ico

Signed-off-by: Elsie Hupp <github@elsiehupp.com>
@solracsf solracsf linked an issue Jan 25, 2021 that may be closed by this pull request
@solracsf
Copy link
Member

This is what I have in Apache today, so it works the same way i believe.

@kesselb kesselb closed this Jan 25, 2021
@kesselb
Copy link
Contributor

kesselb commented Jan 25, 2021

Thanks for the pull request.

curl -I https://demo1.nextcloud.com/favicon.ico
HTTP/1.1 302 Found
Location: https://demo1.nextcloud.com/login

A request to favicon.ico is redirected to login with the default configuration. I guess something is wrong with the server configuration. This change is out of scope for nextcloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redirect root favicon.ico requests
3 participants