Skip to content

Commit 3c83240

Browse files
Potential fix for code scanning alert no. 15: Stored cross-site scripting
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent f8fb7f1 commit 3c83240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/app/benchmarks/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default function BenchmarksPage() {
191191

192192
<div className="mt-16 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
193193
{benchmarks.map((benchmark) => (
194-
<Link key={benchmark.slug} href={`/benchmarks/${benchmark.slug}`} className="block">
194+
<Link key={encodeURIComponent(benchmark.slug)} href={`/benchmarks/${encodeURIComponent(benchmark.slug)}`} className="block">
195195
<Card className="group overflow-hidden transition-all hover:shadow-lg cursor-pointer h-full flex flex-col">
196196
<CardContent className="p-6 flex flex-col h-full">
197197
{/* Thumbnail */}

0 commit comments

Comments
 (0)