Skip to content

WIP: Better Sourcegraph URL handling

Administrator requested to merge better-soucegraph-url into master

Created by: lguychard

Fixes #6521, #3990

  • Expose sourcegraphURL as Observable<URL>, not string.
  • Build URLs for API requests, link hrefs, etc. using new URL('/some/path', sourcegraphURL) rather than string concatenation.
  • Validate Sourcegraph URL in the options popup/page with new URL(), report to the user when the URL is invalid

Merge request reports

Loading