WordPress.org

Make WordPress Core

Opened 3 weeks ago

#44283 new defect (bug)

Enclosure can't deal with CDN media files - WPCore redirects the URL

Reported by: researcher Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Feeds Keywords: needs-testing needs-patch has-screenshots 2nd-opinion
Focuses: Cc:

Description

When using WP as audio collection, RSS2 is needed to get podcasts spread around f.i. to iTunes ect.

To validate the feed right from WP 4.9.6 at http://www.feedvalidator.org from source https://ferrie.audio/cat/podcasts/feed/ we recieve several errors where the most important one is the redirection of CDN URL's to WP URL

example: cdn.ferrie.audio/blablabla/Can-You-hear-Me.m4a - the CDN.(= AWS3) location of the file
becomes: ferrie.audio/blablabla/Can-You-hear-Me.m4a

without the CDN. urlprefix there is no audio stream - all streams are at CDN.
adding the CDN. urlprefix enclosure by hand and then save the blogpost results is 2 enclosures - 1 with CDN. - 1 without
adding the enclosure but NOT save the blogpost shows the correct enclosure - but - the RSS output shows the URL without the CDN. urlprefix

have been looking into the /wp-includes/feed.php - but there is for me no place to find where this redirection takes place - an feed expert might be able to correct this problem - sorry that i can't - i'm no coder i make music.

Change History (0)

Note: See TracTickets for help on using tickets.