BUGFIX login BackURL wrong when using nested urls (fixes #5520, thanks ktauber)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103933 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-03 05:04:31 +00:00 committed by Sam Minnee
parent 1b5b140429
commit db44725062

View File

@ -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 %>