highcharts / highcharts/node-export-server

HighChart - Getting 403 Access to the resource is prohibited

Open
#593 1 comment 0 reactions 0 assignees View on GitHub
health/perfo help wanted
Dominant language
JavaScript
Stars
369
Forks
266
PR merge metrics
No merged PRs in 30d

Description

#### Expected behaviour
It should work as we have defined standard userAgent and Referer.

#### Actual behaviour
When we are using fd keyword in Referer, Our request is getting blocked and we are getting 403 error.

#### Live demo with steps to reproduce

Use Curl request to reproduce
curl --location 'https://export.highcharts.com/' \
--header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Cache-Control: max-age=0' \
--header 'Connection: keep-alive' \
--header 'Cookie: _cfuvid=xoDKd4Zn9TVLByZhFuytr7SJLkLjZeo.Yp2x4Q-1730186434774-0.0.1.1-604800000; _cfuvid=jSiZD.soDNF3WSGFqMGJHo4GENaiPtxKcw7FkQTz7jA-1731391279507-0.0.1.1-604800000' \
--header 'Origin: https://fd.abc.cloud' \
--header 'Referer: https://fd.abc.cloud' \
--header 'Sec-Fetch-Dest: document' \
--header 'Sec-Fetch-Mode: navigate' \
--header 'Sec-Fetch-Site: cross-site' \
--header 'Sec-Fetch-User: ?1' \
--header 'Upgrade-Insecure-Requests: 1' \
--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \
--header 'sec-ch-ua: "Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--form 'filename="Industrial"' \
--form 'type="image/svg+xml"' \
--form 'width="0"' \
--form 'scale="2"' \
--form 'svg=""'

#### Product version

highchart 11.1.0
#### Affected browser(s)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.