craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
288 stars 139 forks source link

Webhook is leaking feed name #1407

Closed tricki closed 4 months ago

tricki commented 7 months ago

Description

When calling the webhook with a feed's ID (/index.php?p=actions/feed-me/feeds/run-task&direct=1&feedId=FEED_ID&passkey=) the title tag contains the feed's title, even with a wrong or missing passkey.

Should be a quick fix here: https://github.com/craftcms/feed-me/blob/1d774e0c85e20c1eb57710de659510ed9a3296ea/src/templates/feeds/_direct.html#L10

Steps to reproduce

n/a

Additional info

i-just commented 4 months ago

Hi, thanks for reporting! I raised a PR for this.

angrybrad commented 4 months ago

Merged and will be included in the next release.