Skip to content

Unable to get contract info on testnet (CORS error for 301 redirect) #68

@justdmitry

Description

@justdmitry

Bug Type

Functional

Reproduction steps

  1. Open any address in testnet
  2. Switch to "Contract" tab

Actual result

Information is failed to load.

chrome_2023-07-17_11-56-01

CORS error is displayed in Developer Console.

Expected result

Contract data/source must be shown.

Suggested Severity

Medium

Device

Desktop: Windows 10: Chrome v114.0.5735.199 (latest), Firefox v115.0 (latest)

Additional Context

Below are request/response dumps.

I think browsers expect CORS headers to be present in 301 redirects too.

Fiddler_2023-07-17_11-55-20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions