highcharts / highcharts/node-export-server
HighChart - Getting 403 Access to the resource is prohibited
- Lingua principale
- JavaScript
- Stelle
- 369
- Fork
- 266
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
#### 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)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo la richiesta segnalata con il comando curl fornito verso https://export.highcharts.com/ e confronta la risposta 403 quando il Referer contiene “fd” con un Referer standard. Traccia la gestione della richiesta di esportazione e identifica la condizione che causa il blocco; il lavoro è considerato completato quando la richiesta documentata ha esito positivo senza rimuovere lo User-Agent o il Referer standard.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100