You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In these cases we have no knowledge whether or not the trailing slash is meaningful. But even if the trailing slash is part of the path, it might be relevant, as the webserver could serve two different pages (compare Google Webmasterblog). Therefore I would suggest removing the rtrim call.
The text was updated successfully, but these errors were encountered:
sb-relaxt-at
added a commit
to sb-relaxt-at/silverstripe-externalurlfield
that referenced
this issue
Sep 7, 2017
From my understanding removing any trailing slash in rebuildURL is not correct:
silverstripe-externalurlfield/src/ExternalURLField.php
Line 158 in 02436af
The trailing slash could be part of a fragment or query, e.g.:
In these cases we have no knowledge whether or not the trailing slash is meaningful. But even if the trailing slash is part of the path, it might be relevant, as the webserver could serve two different pages (compare Google Webmasterblog). Therefore I would suggest removing the rtrim call.
The text was updated successfully, but these errors were encountered: