Update proxy-xml.php
Security improvement
@alanEG Thanks for your initial contribution. I had to do something like this because of cors. Actually, this code doesn't do anything. But I don't believe there should be any security for this.
Hi, I added the whitelist to prevent SSRF and file system access via file://, which is possible with the original code. Even if it's only used for CORS, adding basic security helps prevent the server from being exposed to potential attacks.
is this good to go?
Hey @maxwxyz,
Yeah, I made a few changes, and I would say it’s looking good to go.