mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add additional schema checks
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
c0ef478e20
commit
3259e22d88
@ -194,7 +194,7 @@ export class LensProtocolRouter extends Singleton {
|
|||||||
this.extentionRoutes.set(id, new Map());
|
this.extentionRoutes.set(id, new Map());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (urlSchema.includes(`:${EXTENSION_NAME_MATCH}`)) {
|
if (urlSchema.includes(`:${EXTENSION_NAME_MATCH}`) || urlSchema.includes(`:${EXTENSION_PUBLISHER_MATCH}`)) {
|
||||||
throw new TypeError("Invalid url path schema");
|
throw new TypeError("Invalid url path schema");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user