?
avatar sxzctzppyw
sxzctzppyw
3 Feb 2021

I get the following error when trying to send data to the user.

The security token did not match. The request was aborted to prevent any security breach. Please try again".

I don't know what it can be caused by. Admin Tools uninstalled.
Here is a video to demonstrate.
https://drive.google.com/file/d/1Vyjs5MNUp5wuO7CtD71gs3aZJSr2SsAx/view

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar sxzctzppyw sxzctzppyw - open - 3 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Feb 2021
avatar sxzctzppyw sxzctzppyw - change - 3 Feb 2021
The description was changed
avatar sxzctzppyw sxzctzppyw - edited - 3 Feb 2021
avatar sxzctzppyw sxzctzppyw - change - 3 Feb 2021
The description was changed
Title
Problem with “Privacy > Request > Email Data Export”
[3.9.24] Problem with “Privacy > Request > Email Data Export”
avatar sxzctzppyw sxzctzppyw - edited - 3 Feb 2021
avatar sxzctzppyw sxzctzppyw - edited - 3 Feb 2021
avatar gostn
gostn - comment - 3 Feb 2021

Ask on https://forum.joomla.org/ as this repository is for developing.

avatar sxzctzppyw
sxzctzppyw - comment - 3 Feb 2021

I found solution.
In my opinion this is a bug.

administrator/components/com_privacy/views/request/view.html.php:150
JRoute::_('index.php?option=com_privacy&task=request.emailexport&id=' . (int) $this->item->id . $return),

It looks like the token is not being sent.

fix
JRoute::_('index.php?option=com_privacy&task=request.emailexport&id=' . (int) $this->item->id . $return.'&'. JSession::getFormToken() .'=1'),

Working.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32272.

avatar joomdonation
joomdonation - comment - 3 Feb 2021

@sxzctzppyw It is a valid fix to me. Could you please a PR to get this issue fixed for next Joomla release?

avatar richard67
richard67 - comment - 4 Feb 2021

@joomdonation It seems @sxzctzppyw had a problem with making the PR, starting with having not forked the repository on GitHub. Maybe you can make a PR?

avatar joomdonation
joomdonation - comment - 4 Feb 2021

OK @richard67 . PR created #32299

avatar richard67
richard67 - comment - 4 Feb 2021

Closing as having a pull request (PR). Please test #32299 . Thanks in advance, and thanks @joomdonation for the PR.

avatar richard67 richard67 - change - 4 Feb 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-02-04 14:36:26
Closed_By richard67
avatar richard67 richard67 - close - 4 Feb 2021

Add a Comment

Login with GitHub to post a comment