#1281 remove urlescape from package name
Merged 5 years ago by mikem. Opened 5 years ago by tkopecek.
tkopecek/koji issue1224  into  master

@@ -37,9 +37,7 @@ 

      #for $result in $results

      <tr class="$util.rowToggle($self)">

        <td>$result.id</td>

-       #set $quoted = $result.copy()

-       #silent $quoted['name'] = $urllib.quote($quoted['name'])

-       <td><a href="${infoURL % $quoted}">$result.name</a></td>

+       <td><a href="${infoURL % $result}">$result.name</a></td>

      </tr>

      #end for

      #else

urlescape fails for unicode strings. On the other hand, 'name' attribute
is not used anywhere in infoURLs, so it is safe to just drop it.

Fixes: https://pagure.io/koji/issue/1224

Commit 797b261 fixes this pull-request

Pull-Request has been merged by mikem

5 years ago