Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow https://app.diagrams.net/#U to access private gitlab pages #4356

Open
2 tasks done
natefitzgeraldmse opened this issue Apr 25, 2024 · 0 comments
Open
2 tasks done

Comments

@natefitzgeraldmse
Copy link

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.

In the FAQ page for "Supported location hash properties" there's an example referencing a diagram located at a specific URL from a public GitHub pages site.

https://app.diagrams.net/#Uhttps%3A%2F%2Fjgraph.github.io%2Fdrawio-diagrams%2Fdiagrams%2Fbulb.xml

However, "Error loading file: File not found" occurs when trying to access a private GitLab-pages domain with the same syntax (i.e. https://app.diagrams.net/#Uhttps%3A%2F%2Fmydomain.gitlab.io%2Fmyrepo%2Fmyfile.svg). I've verified that https://mydomain.gitlab.io/myrepo/myfile.svg is accessible if typed directly into my browser.

Describe the solution you'd like

Assuming this error is related to redirection behavior for authentication to the private domain, the feature request to resolve access to private gitlab pages so that the example URL above does not result in a "File Not Found" error.

Describe alternatives you've considered

One potential alternative is to reference a specific gitlab branch or commit with the #A directive. That requires pointing to a particular branch, which is ok. I have a particular workflow that relies on information posted to gitlab pages being the "official" documentation, so I wanted the diagram access to be consistent with that.

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant