url quote the name in case it gets included in the url of the search results
This commit is contained in:
parent
ac51ab2ce2
commit
00044616bd
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#from kojiweb import util
|
||||
#import urllib
|
||||
|
||||
#include "includes/header.chtml"
|
||||
|
||||
|
|
@ -36,7 +37,9 @@
|
|||
#for $result in $results
|
||||
<tr class="$util.rowToggle($self)">
|
||||
<td>$result.id</td>
|
||||
<td><a href="${infoURL % $result}">$result.name</a></td>
|
||||
#set $quoted = $result.copy()
|
||||
#silent $quoted['name'] = $urllib.quote($quoted['name'])
|
||||
<td><a href="${infoURL % $quoted}">$result.name</a></td>
|
||||
</tr>
|
||||
#end for
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue