invalid issue format for url with subprojects

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: glab version (2022-09-23)
  • Operating System and version: Debian GNU/Linux 11 (bullseye)

Summary

Steps to reproduce

  1. glab issue view https://gitlab.com/Username/repo/-/issues/1 is OK
  2. glab issue view https://gitlab.com/namespace/project/subproject/repo/-/issues/1 gives the following error: invalid issue format: "https://gitlab.com/namespace/project/subproject/repo/-/issues/1"

What is the current bug behavior?

gives the following error: invalid issue format: "https://gitlab.com/namespace/project/subproject/repo/-/issues/1"

What is the expected correct behavior?

Show the issue information

Relevant logs and/or screenshots

image

Possible fixes

Edited by Pablo Hinojosa