alextselegidis / easyappointments

:date: Easy!Appointments - Self Hosted Appointment Scheduler
https://easyappointments.org
GNU General Public License v3.0
3.33k stars 1.27k forks source link

BASE_URL receive additional backslash that makes the client get 404 by default on installation #1575

Open EagleDelux opened 3 months ago

EagleDelux commented 3 months ago

I have the same issue as #1537. I am using WAMP server. When I visit http://localhost/index.php I get redirected to http://localhost\/index.php/installation https://github.com/alextselegidis/easyappointments/blob/e45fcf30b579a9a2a03bbbb35efb96556f1ad426/application/config/config.php#L27 If I remove $request_uri I get the correct url. $request_uri is what adds the back slash https://github.com/alextselegidis/easyappointments/blob/e45fcf30b579a9a2a03bbbb35efb96556f1ad426/application/config/config.php#L33

alextselegidis commented 3 months ago

Hello!

Thanks for providing the information.

I will take a closer look into this.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

alextselegidis commented 2 months ago

Update: I just tried the same with the official docker image that users php-apache at its core and could not reproduce the problem. I suspect this has to do with how some servers are configured to parse the path info.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!