Skip to content

Commit f3f7f41

Browse files
Merge pull request #561 from Kanchan-Microsoft/main
chore: Fixed security vulnerability
2 parents 35e28f8 + 0dcb87c commit f3f7f41

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Validate Deployment v3
22

33
on:
44
workflow_run:
5-
workflows: ["Build Docker and Optional Push"]
5+
workflows: ["Build Docker and Optional Push v3"]
66
types:
77
- completed
88
branches:

src/frontend/src/services/PlanDataService.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class PlanDataService {
383383

384384
const facts =
385385
body
386-
.match(/facts="([^"]*(?:\\.[^"]*)*)"/)?.[1]
386+
.match(/facts="((?:[^"\\]|\\.)*)"/)?.[1]
387387
?.replace(/\\n/g, '\n')
388388
.replace(/\\"/g, '"') || '';
389389

@@ -792,7 +792,7 @@ export class PlanDataService {
792792
if (!source) return null;
793793

794794
// question=( "...") OR ('...')
795-
const questionRegex = /question=(?:"((?:\\.|[^"])*)"|'((?:\\.|[^'])*)')/;
795+
const questionRegex = /question=(?:"((?:[^"\\]|\\.)*)"|'((?:[^'\\]|\\.)*)')/;
796796
const qMatch = source.match(questionRegex);
797797
if (!qMatch) return null;
798798

src/mcp_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"azure-identity==1.19.0",
2222
"pydantic==2.11.7",
2323
"pydantic-settings==2.6.1",
24-
"python-multipart==0.0.17",
24+
"python-multipart==0.0.18",
2525
"httpx==0.28.1",
2626
]
2727

0 commit comments

Comments
 (0)