Missing slash on some links

Hi everyone,

There’s a weird issue that some of our users have reported. For some reason, after doing some actions, some users are redirected to a page but the / between our domain and the path is missing for some users. It seems like its almost exclusively affecting iOS and macOS users.

A couple examples of things that could cause this include:

  • Submitting a teacher application form (we had a few prospective teachers reach out to ask if they’re submission went through, which it did)
  • Clicking the password reset link that’s emailed to them

I was able to reproduce this on my mac when i click the password reset link in my email. My browser (firefox) ends up getting directed to:
https://my.domain.orgindex.php/?q=passwordReset.php&

Note the missing “/” between org and index.php.

When i click that same link on an android im properly redirected to the below working address instead:
https://my.domain.org/index.php/?q=passwordReset.php&

For now we’ve told our users to manually insert the / if they run into this issue, but im curious if theres anything we can do to resolve the issue.

We’re self hosting Gibbon v27.0.01, PHP v8.3.12, and MySQL v8.0.40 on a digitalocean server. I tried adding a trailing slash to the Base URL on the system settings, but that didn’t seem to do the trick. Looking for any guidance into what we can do to resolve this.

Thanks in advance for all your help!

Hi @akm This is very weird indeed. My school uses MacOS and myself and a lot of the users are Firefox users, and we have not seen this issue come up. I have tested again locally to see if I could reproduce it, but haven’t been able to. I wonder if you have any kind of firewall or redirect in place on your server that might be affecting the URL? The baseURL should not need to end in a slash, as Gibbon will add that.

Could you check your server error logs to see if there are any clues in there? Gibbon has been thoroughly tested up to PHP 8.2, and while 8.3 should work in theory too, it is possible that something has changed in that version that is causing some kind of unknown error.