We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a5cef commit 1601157Copy full SHA for 1601157
includes/abstract/feedzy-rss-feeds-admin-abstract.php
@@ -698,11 +698,11 @@ public function normalize_urls( $raw ) {
698
if ( is_array( $feed_url ) ) {
699
foreach ( $feed_url as $index => $url ) {
700
if ( wp_http_validate_url( $url ) ) {
701
- $feed_url[ $index ] = trim( $this->smart_convert( $url ) );
+ $feed_url[ $index ] = trim( $this->smart_convert( esc_url_raw( $url ) ) );
702
}
703
704
} elseif ( wp_http_validate_url( $feed_url ) ) {
705
- $feed_url = trim( $this->smart_convert( $feed_url ) );
+ $feed_url = trim( $this->smart_convert( esc_url_raw( $feed_url ) ) );
706
} else {
707
$feed_url = '';
708
0 commit comments