Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX login BackURL wrong when using nested urls (fixes #5520, thank…

…s ktauber) (from r103933)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112448 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit b78bc13c8d917505655f8e63f5f4f7607402f9f5 1 parent 6ff9223
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/PageCommentInterface.ss
View
2  templates/PageCommentInterface.ss
@@ -7,7 +7,7 @@
<% else %>
<p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %>,
<% if PostingRequiresPermission %><% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
- <a href="Security/login?BackURL={$Page.URLSegment}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
+ <a href="Security/login?BackURL={$Page.Link}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
</p>
<% end_if %>
<% else %>
Please sign in to comment.
Something went wrong with that request. Please try again.