Feature Unit/System Tests Language Change PR-6.3-dev Pending

User tests: Successful: Unsuccessful:

avatar CraftException
CraftException
1 Sep 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

The plg_task_requests GET routine could only send a single, fixed Authorization header. Any API that needs a different header (X-API-Key, Accept, User-Agent), could not be called from a scheduled task. Additionally, some hosters block requests that arrive without a User-Agent header, so a scheduled GET Request task against those endpoints simply fails.

This PR adds a repeatable subform to the GET request to set custom headers.

Testing Instructions

  • Create a new GET Request Task in the scheduled task component: /administrator/index.php?option=com_scheduler&view=tasks
  • Use an endpoint that echoes request headers as the URL, e.g. https://webhook.site
  • Enter some headers and run the task
  • Check that they arrive in tmp/task_<id>_response.html

Actual result BEFORE applying this Pull Request

No way to set custom headers (except Authorization header)

Expected result AFTER applying this Pull Request

Repeatable custom headers table. The original authorization fields still exist for backwards compatibility.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar CraftException CraftException - open - 1 Sep 2026
avatar CraftException CraftException - change - 1 Sep 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Sep 2026
Category Administration Language & Strings Front End Plugins Unit Tests
avatar tecpromotion tecpromotion - change - 1 Sep 2026
Title
Task requests custom headers
[6.3] Task requests custom headers
avatar tecpromotion tecpromotion - edited - 1 Sep 2026
avatar CraftException CraftException - change - 1 Sep 2026
Labels Added: Feature Unit/System Tests Language Change PR-6.3-dev

Add a Comment

Login with GitHub to post a comment