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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112448 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-15 01:31:42 +00:00
parent 6ff9223210
commit b78bc13c8d

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