tonscan icon indicating copy to clipboard operation
tonscan copied to clipboard

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

Open justdmitry opened this issue 2 years ago • 0 comments

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

justdmitry avatar Jul 17 '23 09:07 justdmitry