- Timestamp:
- Jun 24, 2008, 11:40:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/ports.php
r35225 r37825 140 140 $pagecontrol .= "<b>$i</b>"; 141 141 } else { 142 $pagecontrol .= "<a href=\"$_SERVER[PHP_SELF]?by=$by&substr= $substr&page=$i&pagesize=$pagesize\">$i</a>";142 $pagecontrol .= "<a href=\"$_SERVER[PHP_SELF]?by=$by&substr=" . htmlspecialchars($substr) . "&page=$i&pagesize=$pagesize\">$i</a>"; 143 143 } 144 144 } … … 165 165 166 166 /* Port name and Portfile URL */ 167 print "<dt><b><a href=\"${trac_url}browser/trunk/dports/ $row[path]/Portfile\">" . htmlspecialchars($row['name'])167 print "<dt><b><a href=\"${trac_url}browser/trunk/dports/" . urlencode($row['path']) . "/Portfile\">" . htmlspecialchars($row['name']) 168 168 . '</a></b> ' . htmlspecialchars($row['version']) . '</dt>'; 169 169 … … 182 182 if ($primary) { print ' <b>'; } 183 183 else { print ' '; } 184 print obfuscate_email($nrow[0]);;184 print htmlspecialchars(obfuscate_email($nrow[0])); 185 185 if ($primary) { print '</b>'; } 186 186 $primary = 0;
Note: See TracChangeset
for help on using the changeset viewer.