[Bug]: Wrong redirection with the button Continue with this unsupported browser
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
I try to access to Nextcloud 28.0.1 from an unsupported browser (Firefox ESR 102 on Windows). I redirected on the page : https://HOST/index.php/unsupported If a acknowledge with the button "Continue with this unsupported browser" i have a 404 error because the URI is in double. I redirected to https://HOST/index.php/index.php/apps/dashboard/
Steps to reproduce
- Install Nextcloud 28.0.1 from archive
- Login with unsupported browser
- See the issue
Expected behavior
Redirect to https://HOST/index.php/apps/dashboard/ instead of https://HOST/index.php/index.php/apps/dashboard/
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [ ] Default user-backend (database)
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
I'm having difficulty reproducing this.
Does this same environment work fine with a supported browser?
Also, was your installation in/accessible via a subfolder URL by chance (i.e https://domain.com/nextcloud versus https://nextcloud.domain.com)? That can make a difference.
Since you you didn't provide one in your report, I have to ask: is your config modified in any way or - better yet - can you provide it?
Does this same environment work fine with a supported browser? => YES
lso, was your installation in/accessible via a subfolder URL by chance (i.e https://domain.com/nextcloud versus https://nextcloud.domain.com)? That can make a difference. => I have 2 Nextcloud installation with same issue. => Install number 1 is redirected to https://domain.fr/nextcloud/index.php/nextcloud/index.php/apps/dashboard/ (because nextcloud access from subfolder => Install number 2 is redirected to https://domain.fr/index.php/index.php/apps/dashboard/ => So with subfolder or root install it's the same.
is your config modified in any way or - better yet - can you provide it? => Default configuration. But one upgrade from an 23 install and the other is upgrades from a lot of years, first install was Owncloud 6. But all upgrade are only Major to Major+1.
Please provide the configs, as requested in the bug report template. Particularly since we can't reproduce this so far.
Yes, the config :
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***.fr",
"***REMOVED SENSITIVE VALUE***.fr"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.1.1",
"overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***.fr",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"skeletondirectory": "",
"auth.bruteforce.protection.enabled": true,
"maintenance": false,
"loglevel": 2
}
}
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
Are you sure mod_rewrite is enabled in your environment and AllowOverride All is on for the Nextcloud installation directory?
Yes mod_rewite enabled.
Option used in the virtualhost are : Options Indexes FollowSymLinks AllowOverride All