in src/controller/urlController.ts [71:86]
async handleUri(uri: vscode.Uri) {
const { path, query, fragment } = uri;
const filepath = new URLSearchParams(query).get("path");
const lineNumber = filepath ? `#${fragment}` : undefined;
const [_, action, ...rest] = path.split("/");
if (action === "review") {
const [guid, version] = rest;
await this.handleReviewUrl(
guid,
version,
filepath || undefined,
lineNumber
);
}
}