fix(tag/include_code): prevent path traversal (#5251)
commitb5b63caee27256d71a0cee8954c22375ec885d07
authorMimi <1119186082@qq.com>
Tue, 16 Apr 2024 15:58:46 +0000 (16 23:58 +0800)
committerGitHub <noreply@github.com>
Tue, 16 Apr 2024 15:58:46 +0000 (16 23:58 +0800)
tree109d6508e2af23f8f14c8fc9d9725ae30177015c
parentcefee921153ba597316457f4fedf7b87b6516917
fix(tag/include_code): prevent path traversal (#5251)

Co-authored-by: uiolee <22849383+uiolee@users.noreply.github.com>
Co-authored-by: yoshinorin <yoshinorin.net@outlook.com>
lib/plugins/tag/include_code.ts
test/scripts/tags/include_code.ts