Permalink
Browse files

Fix double escaping in calendar

Test Plan: Used `<img` as status description.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T139

Differential Revision: https://secure.phabricator.com/D4276
  • Loading branch information...
1 parent 1c2e7e5 commit 1264e385414963127a2f8cf47bafa88b2c7aad5b vrana committed Dec 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/applications/calendar/controller/PhabricatorCalendarBrowseController.php
@@ -41,7 +41,7 @@ public function processRequest() {
$event->setName("{$name_text} ({$status_text})");
$details = '';
if ($status->getDescription()) {
- $details = "\n\n".rtrim(phutil_escape_html($status->getDescription()));
+ $details = "\n\n".rtrim($status->getDescription());
}
$event->setDescription(
$status->getTerseSummary($user).$details

0 comments on commit 1264e38

Please sign in to comment.