After being unable to find a suitable solution, I have decided to modify the code to avoid the use of user-select
in the URL, responsible for triggering the security alert. I share the changes in the code hoping it will be of some help…
NOTE: It is recommended use an IDE to ensure that the namespaces and usage of the files contained in the directory will be updated.
- Rename folder
/lib/pkp/controllers/grid/users/userSelect
, for example touserSearch
. - Rename file
/lib/pkp/controllers/grid/users/userSearch/UserSelectGridHandler.php
, for example toUserSearchGridHandler.php
.
- Rename file
/lib/pkp/controllers/grid/users/userSearch/UserSelectGridCellProvider.php
, for example toUserSearchGridCellProvider.php
.
- Update the reference usage of
UserSearchGridCellProvider
in file/controllers/grid/users/subscriberSelect/SubscriberSelectGridHandler.php
.
- In file
/lib/pkp/templates/controllers/grid/users/stageParticipant/addParticipantForm.tpl
, on line 66, change the component attribute fromgrid.users.userSelect.UserSelectGridHandler
togrid.users.userSearch.UserSearchGridHandler
.
- Delete the web template cache from the website admin panel.