Skip to content
Snippets Groups Projects
Commit 497da10b authored by Demian Katz's avatar Demian Katz
Browse files

Reverted inappropriate escaping.

- Corrects commit 9a6a429f
parent d4d2df10
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
foreach (isset($filters['Other']) ? $filters['Other'] : array() as $filter) { foreach (isset($filters['Other']) ? $filters['Other'] : array() as $filter) {
$filter['urlPart'] = $filter['field'] . ':' . $filter['value']; $filter['urlPart'] = $filter['field'] . ':' . $filter['value'];
$filterList[] = $filter; $filterList[] = $filter;
$filterString .= '&' . urlencode('filter[]') . '=' . urlencode($filter['urlPart']); $filterString .= '&' . urlencode('filter[]') . '=' . urlencode($filter['urlPart']);
} }
?> ?>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
$removalUrl = $this->url('collections-home') . '?from=' . urlencode($from); $removalUrl = $this->url('collections-home') . '?from=' . urlencode($from);
foreach ($filterList as $current) { foreach ($filterList as $current) {
if ($current['urlPart'] != $filter['urlPart']) { if ($current['urlPart'] != $filter['urlPart']) {
$removalUrl .= '&' . urlencode('filter[]') . '=' . urlencode($current['urlPart']); $removalUrl .= '&' . urlencode('filter[]') . '=' . urlencode($current['urlPart']);
} }
} }
?> ?>
......
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<? <?
$url = $this->currentPath() . $this->escapeHtmlAttr( $url = $this->currentPath() . $this->escapeHtmlAttr(
'?inst=' . urlencode($record->getInstructorId()) '?inst=' . urlencode($record->getInstructorId())
. '&amp;course=' . urlencode($record->getCourseId()) . '&course=' . urlencode($record->getCourseId())
. '&amp;dept=' . urlencode($record->getDepartmentId()) . '&dept=' . urlencode($record->getDepartmentId())
); );
?> ?>
<tr> <tr>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment