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

[5.2] Fix public folder path when trailing slash is added #44340

Open
wants to merge 2 commits into
base: 5.2-dev
Choose a base branch
from

Conversation

bembelimen
Copy link
Contributor

Summary of Changes

Remove any trailing slashes for public folder path constant

Testing Instructions

Actual result BEFORE applying this Pull Request

  • error: Site not found

Expected result AFTER applying this Pull Request

  • ajax call works
  • no trailing slash in the defines.php in your public folder

@dgrammatiko probably you could check if you agree

thanks @HLeithner for helping debugging.

@dgrammatiko
Copy link
Contributor

@bembelimen probably worth mentioning that this happens on windows based OSes

@bembelimen
Copy link
Contributor Author

I have the problem on a linux server :)

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

Successfully merging this pull request may close these issues.

4 participants