-
Notifications
You must be signed in to change notification settings - Fork 466
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
UVE: Fix Trailing Slash Issue in dotCMS #30984
Comments
RFC 3986, which defines the syntax for URIs (Uniform Resource Identifiers), provides some guidance on how URIs may be compared and how path segments are interpreted. However, it does not specify detailed rules concerning the specific handling of URLs with “trailing slashes” (/about/) versus those without (/about). This distinction is usually dependent on the server and how it is configured to handle paths. Broadly speaking, a “trailing slash” implies that the URI refers to a directory or a high-level view of a set of resources, while the absence of a slash suggests that the URI points to a specific resource, which could be a document or a page. Here are some practical implications regarding design and server operation:
3.Server Interpretation: How these URIs are handled depends on the server. Some servers will automatically redirect a URI that points to a directory but lacks a “trailing slash” to add it (for example, redirecting from /about to /about/), as this can be important for how relative paths are handled on the client side. In summary, RFC 3986 addresses how URIs should be interpreted and normalized, but it is the practices of servers and applications that determine how URIs ending in a “trailing slash” are specifically managed. It is common in web design to use a “trailing slash” to denote directories and its omission to indicate specific files or services, but the practical handling of this can vary. |
Internal QA Approved:
|
Only for 24.12 LTS |
Problem Statement
When editing a page with "index" in the URL, the trailing slash is being removed, resulting in a different URL format than the standard. This causes potential inconsistencies in the page URLs.
Steps to Reproduce
trailing-slash.mp4
Acceptance Criteria
/
when remove theindex
External Links
#30960
Assumptions & Initiation Needs
Quality Assurance Notes & Workarounds
N/A
The text was updated successfully, but these errors were encountered: