This is unusual, you’re right it does appear to be caused by the URL double-encoding. I wonder if it’s something in the server configuration that’s modifying the header Location: string, as I don’t believe we’ve seen this particular issue before.
To help debug:
Try a different browser (if you haven't already), to narrow down if it's front-end or back-end.
Test to see if this happens just in School Admin, or in any module with a space in the name (try System Admin for example)
Do you have any redirection or mod-rewrite lines in your directory-level .htaccess or server-level httpd.conf that may be encoding the URL as part of the redirect? Sometimes related to subdomain or https setup.
Hope we can help tame your Gibbon escapees Give a shout if you find any more clues as you troubleshoot this. Thanks!
Thanks!! When my school started up with Gibbon we had 10 years of data in a previous system, creating a way to migrate it all over was a top priority. Glad to hear it’s been useful for you too.
Is there any redirection setup on your server either in the directory-level .htaccess or server-level httpd.conf? Perhaps related to the proxy? If it’s mod-rewrite related, adding [NE] or [NE,B] to the redirection may stop if from double-escaping: https://stackoverflow.com/a/6529394
I have now added the NE but the problem remains. I would be surprised if Gibbon were providing http rather than https to the browser after form submission.
The redirect URL is based on your Base URL in System Settings, so if that url starts with https:// then all the links and redirects Gibbon uses will also be https (and shouldn’t trigger the RewriteRule).
If this is in your Apache config though you’d also need to restart after making any changes (such as adding the NE).
I just realised that your amazing Data Admin module is NOT exhibiting the problem despite having a space in the name. The Gibbons have not gone totally feral…
Hmm. In your initial URL I see what looks like a double slash in the Base URL: https://gibbon.spots.school/c//index.php` Is there a trailing slash on the end of your Base URL in System Settings? If so, remove it, then log out and back in again (to refresh the Session) and see if that does the trick. The extra slash may be triggering an internal redirect which could double-encode the GET params.
I suspect it’s server configuration or redirect related at this point. For example, if I visit https://gibbon.spots.school` it will redirect to https://gibbon.spots.school/c/`, is this a redirect in the .htaccess or httpd.conf file (and perhaps needs [NE] added to it too?)
As a test, if I visit http://gibbon.spots.school/c/index.php?%40` it is redirecting to https://gibbon.spots.school/c/index.php?%2540` which is double-encoded, and seems to indicate the previous change adding [NE] hasn’t affected anything … but this is a tricky one to nail down, there’s no saying if the https redirect is even related to the current issue (from some google searches, it does seem to be a common cause though).
I suspect it's server configuration or redirect related at this point. For example, if I visit https://gibbon.spots.school` it will redirect to https://gibbon.spots.school/c/`, is this a redirect in the .htaccess or httpd.conf file (and perhaps needs [NE] added to it too?)
This one is a REFRESH header in index.html `
As a test, if I visit http://gibbon.spots.school/c/index.php?%40` it is redirecting to https://gibbon.spots.school/c/index.php?%2540` which is double-encoded, and seems to indicate the previous change adding [NE] hasn’t affected anything … but this is a tricky one to nail down, there’s no saying if the https redirect is even related to the current issue (from some google searches, it does seem to be a common cause though).
Aha, so it does seem to be Apache’s fault. I will focus my search on that…thank you!
I suspect it's server configuration or redirect related at this point. For example, if I visit https://gibbon.spots.school` it will redirect to https://gibbon.spots.school/c/`, is this a redirect in the .htaccess or httpd.conf file (and perhaps needs [NE] added to it too?)