Skip to content

Commit

Permalink
fix(alias): deal with accents in alias subject
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Jul 3, 2024
1 parent 86721cd commit 55e64a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/schema/uuid/abstract-uuid/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ async function resolveIdFromAlias(
/^\/(?<id>\d+)$/,
/^\/entity\/view\/(?<id>\d+)$/,
/^\/entity\/repository\/compare\/(?<entityId>\d+)\/(?<id>\d+)$/,
/^\/(?<instance>[a-z]{2}\/)?(?<subject>[\w-]+\/)?(?<id>\d+)(?<coursePageId>\/[0-9a-f]+)?\/(?<title>[^/]*)$/,
/^\/(?<instance>[a-z]{2}\/)?(?<subject>[^/]+\/)?(?<id>\d+)(?<coursePageId>\/[0-9a-f]+)?\/(?<title>[^/]*)$/,
/^\/user\/profile\/(?<id>\d+)$/,
]) {
const match = regex.exec(cleanPath)
Expand Down

0 comments on commit 55e64a4

Please sign in to comment.