这是indexloc提供的服务,不要输入任何密码
Skip to content

URL returned by GenerateEditorPageAsync does not honor referrer scheme #1115

@dalehhirt

Description

@dalehhirt

Describe the bug

When accessing /editor, the url generated does not honor the https:// scheme. Recommend using an environment variable that can be set if running in a container to https. See line 14 of src\Microsoft.TryDotNet\ContentGenerator.cs

Did this error occur while using dotnet try or online?

  • dotnet-try
  • [ x] online

What kind of error was it?

  • User Interface (UI): For example the output never displayed
  • Service Error: For example "The service is temporarily unavailable. We are working on it"
  • [x ] Other:

app.bundle.js:2 Mixed Content: The page at 'https://.net/editor?enableLogging=true' was loaded over HTTPS, but requested an insecure frame 'http://.net/wasmrunner'. This request has been blocked; the content must be served over HTTPS.

Screenshots

If applicable, add screenshots to help explain your problem.

Please complete the following:

  • OS
    • [x ] Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • [ x] Chrome
    • [ x] Edge
    • Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions