← Back to team overview

mahara-contributors team mailing list archive

[Bug 640152] Re: landing on incorrect page after clicking a link in notification in an email

 

This is caused by running special chars encoding over the string which
is already encoded. Original URI is used as action in loginform if user
is not logged in at the time of clicking on the link in email. When
$action is formed, ampersands are hard-coded as "&"
(auth_get_login_form(), auth/lib.php), then at the form generation
action string is passed through Peiform::hsc (get_form_tag()), so as
result we have:

loginbox.innerHTML = '<form class="pieform" name="login" method="post"
action="?id=2&amp;amp;replyto=1204&amp;amp;returnto=inbox" ...

-- 
landing on incorrect page after clicking a link in notification in an email
https://bugs.launchpad.net/bugs/640152
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Confirmed

Bug description:
1.3.0
MySQL
Linux
A user sends a message to another user. The recipient gets an email, saying that 'you have received a message.....to view this message click here etc...'

Upon clicking the link in the email, the next screen presented will be the 'Write a message to ...screen' and not the message that was sent.

Clarification: This only happens if the recipient is not logged into Mahara. Then, he/she will be presented with the login screen and upon logging in the 'Write a message to ...screen' will appear







References