When I try to send a POST request, I am getting Unsafe URL error. How can I solve this problem? What could be the problem?
Asked
Active
Viewed 363 times
1 Answers
0
This is not an error. This is the value the server sets for the Referrer-Policy
header.
You can change it via response.setHeader('Referrer-Policy', 'same-origin')
to e.g. same-origin
or remove it via response.removeHeader('Referrer-Policy')
.

Sebastian Zartner
- 18,808
- 10
- 90
- 132