← Back to team overview

mahara-contributors team mailing list archive

[Bug 1520011] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5830
Committed: https://git.mahara.org/mahara/mahara/commit/c37828914a7508fb6e61ec5cc096b9bf3b1524fa
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    15.10_STABLE

commit c37828914a7508fb6e61ec5cc096b9bf3b1524fa
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Nov 27 15:53:04 2015 +1300

Bug 1520011: Notifications displaying incorrectly

If we have special chars like " or > in a feedback message they get
saved to db as htmlspecialchars like &quot; or $gt;

When we go to display them we turn the & part into a specialchar again
leading to bad display.

Change-Id: Ie66dd599029f0939938f0d1d829c4156b5db6d56
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1520011

Title:
  copying and pasting text with quots is displaying as
  '&quot;Note&quot;'

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  1. I was testing bug #1516412 to trigger the copy and paste message
  2. I copied the text in the bug report and posted it in one of my pages  called that page
  3. The text looked fine on the dashboard
  3. I saw a notification so I proceeded to check
  4 I realised it was the the text that I copied from the bug report but the quotes around the text and had disappeared and displaying this instead: &quot;Note&quot;.

  Please see then attached screen shot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1520011/+subscriptions


References