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

Structure URL does not render trailing slashes to the screen #4344

Open
CreativePoweredGeek opened this issue Jun 4, 2024 · 0 comments
Open

Comments

@CreativePoweredGeek
Copy link

Description of the problem
Structure: In my Rich Text fields (RedactorX specificly) when I add a link & select a Structure page, the link it inserts has a trailing slash on it (for example '/resources/trail-maps/'). I have enabled "Show trailing slash' in the Structure preferences. However, when it renders on the page it it renders the full URL in the code but WITHOUT the trailing slash. Am I missing a setting? or is this a bug? Trailing slashes are my norm on my sites but this tosses url structures I don't intend into the mix (I noticed this in Screaming Frog)

How To Reproduce
Be sure "Show trailing slash' is enabled in the Structure preferences.
using a RedactorX RTE add a link to the copy from the structure links dropdown. save it and review the raw HTML... you will see it has the trailing slash.

Save it & then view the page in the Web browser you will see it renders the full uRL but WITHOUT the trailing slash.

Error Messages
No Error messages

Screenshots / Videos / Template Code

Environment Details:

  • Version: 7.4.9
  • PHP Version 8.1.13
  • MySQL Version 5.8 (I think)
  • OS: Linux
  • Web Server: Apache

Possible Solution

Additional context

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

No branches or pull requests

1 participant