Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
651cb06
Bump python-dotenv from 1.0.0 to 1.1.0
dependabot[bot] Jun 9, 2025
3e142e3
Merge pull request #1 from venkateshpabbati/dependabot/pip/python-dot…
venkateshpabbati Jun 9, 2025
33e5f15
Potential fix for code scanning alert no. 2: Reflected cross-site scr…
venkateshpabbati Jun 9, 2025
795027b
Bump @types/node from 22.15.21 to 22.15.30
dependabot[bot] Jun 9, 2025
c0b02d8
Potential fix for code scanning alert no. 3: Reflected cross-site scr…
venkateshpabbati Jun 9, 2025
3e3a5e3
Bump @azure-rest/ai-inference from 1.0.0-beta.2 to 1.0.0-beta.6
dependabot[bot] Jun 9, 2025
510b24f
Potential fix for code scanning alert no. 2: Reflected cross-site scr…
venkateshpabbati Jun 9, 2025
84dc456
Bump numpy from 1.24.2 to 2.0.2
dependabot[bot] Jun 9, 2025
9e29b47
Bump openai from 4.103.0 to 5.1.1
dependabot[bot] Jun 9, 2025
a04a639
Bump the npm_and_yarn group with 2 updates
dependabot[bot] Jun 9, 2025
e667e91
Bump actions/github-script from 6 to 7
dependabot[bot] Jun 9, 2025
c28d9c7
Bump pandas from 1.5.3 to 2.3.0
dependabot[bot] Jun 9, 2025
2d1c528
Merge pull request #8 from venkateshpabbati/dependabot/npm_and_yarn/n…
venkateshpabbati Jun 9, 2025
0ecc747
Merge pull request #7 from venkateshpabbati/dependabot/npm_and_yarn/o…
venkateshpabbati Jun 9, 2025
90362c9
Merge pull request #10 from venkateshpabbati/dependabot/pip/pandas-2.3.0
venkateshpabbati Jun 9, 2025
cfdd760
Merge pull request #9 from venkateshpabbati/dependabot/github_actions…
venkateshpabbati Jun 9, 2025
4924486
Merge branch 'main' into dependabot/pip/numpy-2.0.2
venkateshpabbati Jun 9, 2025
c9fd26b
Potential fix for code scanning alert no. 3: Reflected cross-site scr…
venkateshpabbati Jun 9, 2025
426effe
Merge branch 'main' into alert-autofix-21
venkateshpabbati Jun 9, 2025
1f97463
Merge branch 'main' into alert-autofix-2
venkateshpabbati Jun 9, 2025
8c41cb2
Merge pull request #6 from venkateshpabbati/dependabot/pip/numpy-2.0.2
venkateshpabbati Jun 9, 2025
56b5ec2
Merge branch 'main' into dependabot/npm_and_yarn/azure-rest/ai-infere…
venkateshpabbati Jun 9, 2025
bcb37a9
Merge branch 'main' into dependabot/npm_and_yarn/types/node-22.15.30
venkateshpabbati Jun 9, 2025
eda729e
Merge pull request #4 from venkateshpabbati/dependabot/npm_and_yarn/a…
venkateshpabbati Jun 9, 2025
250a4ec
Bump openai from 5.1.1 to 5.2.0
dependabot[bot] Jun 9, 2025
d8d1bad
Merge pull request #11 from venkateshpabbati/dependabot/npm_and_yarn/…
venkateshpabbati Jun 10, 2025
e54040e
Merge pull request #3 from venkateshpabbati/dependabot/npm_and_yarn/t…
venkateshpabbati Jun 10, 2025
a44e9c7
Merge branch 'main' into alert-autofix-2
venkateshpabbati Jun 10, 2025
2461693
Merge branch 'main' into alert-autofix-21
venkateshpabbati Jun 10, 2025
179e073
Merge pull request #2 from venkateshpabbati/alert-autofix-2
venkateshpabbati Jun 10, 2025
6ba44c8
Merge pull request #5 from venkateshpabbati/alert-autofix-21
venkateshpabbati Jun 10, 2025
6eb83d4
Merge branch 'main' into main
venkateshpabbati Nov 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion 05-advanced-prompts/javascript/solution.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ import express from 'express';
import https from 'https';
import fs from 'fs';
import { check, validationResult } from 'express-validator';
import escape from 'escape-html';

const app = express();

Expand All @@ -74,7 +75,9 @@ app.get('/', [
}

const { name, email } = req.query;
res.send(`Hello ${name} (${email})!`);
const escapedName = escape(name);
const escapedEmail = escape(email);
res.send(`Hello ${escapedName} (${escapedEmail})!`);
});

// Use HTTPS instead of HTTP
Expand Down
Loading