Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: handle unexpected inputs (#3604)
Liu Ji6bdb00461137
diff --git a/frontend/src/components/Issue/activity/Comment.ts b/frontend/src/components/Issue/activity/Comment.tsindex f550748bc9..260e948856 100644--- a/frontend/src/components/Issue/activity/Comment.ts+++ b/frontend/src/components/Issue/activity/Comment.ts@@ -19,7 +19,7 @@ export default defineComponent({return parts.map((part) => {if (part === "") return null;- if (part.match(part)) {+ if (part.startsWith("#")) {const id = parseInt(part.slice(1), 10);if (!Number.isNaN(id) && id > 0) {// we met a valid #{issue_id} in which issue_id is an integer and >= 0