Skip to content

Remove trailing slashes from edit this page paths

Paul Gascou-Vaillancourt requested to merge 414-fix-edit-this-page-links into master

After some server configuration change, it looks like we now have some redirects that force URLs to have a trailing slash, which breaks the resolve path in editThisPage options. To fix this, we can simply remove trailing slashes from the path in the resolve() method, which is what this MR does.

More details in this comment: #414 (comment 226448079)

Closes #414 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports