Skip to content

Script adding extra /youtrack to urls #9

Description

@Bemte

Hi Karsten,

first of all, thanks a lot for this project!

I had a small issue with the base URL.
You seem to assume that an URL always has the form

https://myserver.intern/youtrack/api/...

In that case, setting YT_URL=https://myserver.intern works, your script adds /youtrack and the rest of the path.

That breaks, however, when you host youtrack in one of the following ways:

https://youtrack.myserver.intern
http://192.168.178.123:8080

In these examples, the extra /youtrack added breaks the URL.

I was able to fix it by simply removing the extra /youtrack from all paths defined in ytlib.py, but that is of course not a general solution as it would surely break things in other places.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions