godaddy-wordpress / coblocks

A suite of professional page building content blocks for the WordPress Gutenberg block editor.
https://wordpress.org/plugins/coblocks/
GNU General Public License v2.0
749 stars 146 forks source link

Sanitize the iCal URL before initializing #2607

Closed EvanHerman closed 6 months ago

EvanHerman commented 6 months ago

Description

Types of changes

Bug fix (non-breaking change which fixes an issue)

How has this been tested?

Tested by running nc -l 127.0.0.1 9000. Adding a Events block to the page, ticking off Link a calendar and adding the URL http://127.0.0.1:9000 to the calendar URL and ensuring an error is returned.

Checklist: