Skip to content

Strengthened security for WPC cloud converter

Choose a tag to compare

@rosell-dk rosell-dk released this 18 Jun 06:42
· 16 commits to master since this release

WPC converter uses curl underneath to make the api call.
However, the curl library out of the box allows protocols that can be unsafe, such as "file:"
This release blocks specifically configures curl only to allow http and https.

Also added "require-public-ip" option to WPC (defaults to false).
Setting it to true can further improve the security of WPC converter, by rejecting api urls on private IP (such as localhost or 127.0.0.1). Only relevant if somehow non-trusted people can gain access to set the api-url