Inconsistent trailing slash behavior with Simple Address in SaaS CMS + Content Graph
I'm encountering an inconsistency when working with URLs in the SaaS CMS frontend using Content Graph. All content URLs returned from Graph include a trailing slash except for those using the Simple Address feature — see screenshot for reference.
This inconsistency makes it difficult to reliably match URLs when resolving routing on the frontend. Since URL comparison often involves exact string matches, the mismatch in trailing slash behavior leads to additional logic and potential edge cases.
-
Ethan Schofer
commented
I think in general, a "User Trailing Slash" toggle would be helpful. There is not industry wide consensus on using the trailing slash. Some websites want it, some dont. But at the moment, not having it on a SaaS site would require a fair amount of dev work.