Merge "PolyGerrit: Encode url for projects"

This commit is contained in:
Kasper Nilsson
2017-05-30 21:40:45 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ limitations under the License.
<template is="dom-repeat" items="[[_shownProjects]]"> <template is="dom-repeat" items="[[_shownProjects]]">
<tr class="project-table"> <tr class="project-table">
<td class="name"> <td class="name">
<a href$="[[_getUrl(item.id)]]">[[item.name]]</a> <a href$="[[_getUrl(item.name)]]">[[item.name]]</a>
</td> </td>
<td class="description">[[item.description]]</td> <td class="description">[[item.description]]</td>
<td class="repositoryBrowser"> <td class="repositoryBrowser">

View File

@@ -94,7 +94,7 @@
_getUrl(item) { _getUrl(item) {
return this.getBaseUrl() + '/admin/projects/' + return this.getBaseUrl() + '/admin/projects/' +
this.encodeURL(item, false); this.encodeURL(item, true);
}, },