We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15015ff commit 44a62feCopy full SHA for 44a62fe
src/lib/api-client.ts
@@ -802,6 +802,8 @@ export async function findProjectsBySlug(
802
// accept the match (the user passed a numeric project ID).
803
// For non-numeric inputs, verify the slug actually matches to
804
// avoid false positives from coincidental ID collisions.
805
+ // Note: Sentry enforces that project slugs must start with a letter,
806
+ // so an all-digits input can only ever be a numeric ID, never a slug.
807
if (!isNumericId && project.slug !== projectSlug) {
808
return null;
809
}
0 commit comments