User tests: Successful: Unsuccessful:
Pull Request for Issue #36454.
Adds CSRF protection for task "test" trigger endpoint. Token is injected in the list template.
http://example.com/administrator/index.php?option=com_ajax&format=json&plugin=RunSchedulerTest&group=system&id={TaskID}
in another tab.Task is executed.
Task is not executed since request lacks token.
-
Status | New | ⇒ | Pending |
Category | ⇒ | Administration JavaScript Repository NPM Change Front End Plugins |
/********/src/build/media_source/com_scheduler/js/admin-view-run-test-task.es6.js
15s
8 21:176 error Strings must use singlequote quotes
Labels |
Added:
NPM Resource Changed
?
|
/********/src/build/media_source/com_scheduler/js/admin-view-run-test-task.es6.js 15s 8 21:176 error Strings must use singlequote quotes
@PhilETaylor fixed
I have tested this item
With the patch the task does not run on GET request. The "Last Run Date" confirms that.
{
"success": true,
"message": null,
"messages": null,
"data": []
}
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/36518">issues.joomla.org/tracker/joomla-cms/36518</a>.</sub>
I have tested this item
With the patch the task does not run on GET request. The "Last Run Date" confirms that.
{
"success": true,
"message": null,
"messages": null,
"data": []
}
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/36518">issues.joomla.org/tracker/joomla-cms/36518</a>.</sub>
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-14 20:42:27 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
|
Thx
@PhilETaylor please test and review.