Plupload url should not assume path to be "plupload-handle-uploads" for csrf token

Created on 1 December 2016, about 8 years ago
Updated 2 March 2024, 12 months ago

In PlUploadFile::preRenderPlUploadFile(), the plupload url token is generated using the path "plupload-handle-uploads". This assumes the route has no been altered to another path.

D8 core already calculates the token when "_csrf" is set on the route.
See https://www.drupal.org/docs/8/api/routing-system/access-checking-on-rout... β†’

πŸ› Bug report
Status

Needs work

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States recrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024