Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

pg: relax the table name regex matcher to accept dot in the UI.

spinningbot3432954c512c
diff --git a/frontend/src/store/modules/router.ts b/frontend/src/store/modules/router.ts
index b3f519760a..0ae667367e 100644
--- a/frontend/src/store/modules/router.ts
+++ b/frontend/src/store/modules/router.ts
@@ -84,7 +84,7 @@ const getters = {
// /db/:databaseSlug/table/:tableName
// Total 3 elements, 2nd element is the database slug, 3rd element is the table name
const databaseComponents = currentRoute.path.match(
- "/db/([0-9a-zA-Z_-]+)/table/([0-9a-zA-Z_-]+)"
+ "/db/([0-9a-zA-Z_-]+)/table/(.+)"
) || ["/", undefined, undefined];
if (databaseComponents[1] && databaseComponents[2]) {
return {