Skip to content
Snippets Groups Projects
Closed GitHub CSP blocking browser extension requests to local instance
  • View options
  • GitHub CSP blocking browser extension requests to local instance

  • View options
  • Closed Issue created by Warren Gifford

    Created by: ryan-blunden

    screenflow

    To reproduce, launch a local Sourcegraph and lang server, point the browser extension at your local instance, then try getting code intelligence to work. This seems to have happened to @KattMingMing today and I was able to reproduce the issue on @dadlerj's local instance.

    When browsing GitHub with the browser extension installed, after an indeterminate amount of time, requests from the browser extension from the contents script start failing due to CSP issues.

    It's triggered when the CSP has a different frame-src value.

    pasted_image_at_2019-01-11__6_05_pm

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first